SyncList
Types
Link copied to clipboard
interface QueryOptions
Options passed while querying SyncList objects within Sync specifying query parameters and result set position and sorting.
Link copied to clipboard
enum QueryOrder
Defines collection query direction (forward or backwards item listing).
Functions
Link copied to clipboard
abstract fun addItem(itemData: JSONObject, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Add Item to the SyncList.
Link copied to clipboard
Retrieves a Date when the List was last updated.
Link copied to clipboard
Retrieve contents of a given Item in the SyncList.
Link copied to clipboard
Get iterator access to all items in the list.
Link copied to clipboard
Retrieves a user-set unique name for this SyncList.
Link copied to clipboard
abstract fun mutateItem(itemIndex: Long, mutator: SyncMutator, listener: SuccessListener<SyncList.Item>)
abstract fun mutateItem(itemIndex: Long, mutator: SyncMutator, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Mutate contents of a given Item in the SyncList.
Link copied to clipboard
abstract fun queryItems(options: SyncList.QueryOptions, listener: SuccessListener<SyncListPaginator>)
Query paginated sequence of items from the list, based on query options.
Link copied to clipboard
Provide options for querying items from the SyncList.
Link copied to clipboard
Remove Item from the SyncList.
Link copied to clipboard
Remove entire SyncList object.
Link copied to clipboard
abstract fun setItem(itemIndex: Long, itemData: JSONObject, listener: SuccessListener<SyncList.Item>)
abstract fun setItem(itemIndex: Long, itemData: JSONObject, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Set contents of a given Item in the SyncList.
Link copied to clipboard
Set time to live for an item in list.
Link copied to clipboard
Set time to live for list object in seconds.