SyncList
Types
Link copied to clipboard
Options passed while querying SyncList objects within Sync specifying query parameters and result set position and sorting.
Link copied to clipboard
Defines collection query direction (forward or backwards item listing).
Functions
Link copied to clipboard
abstract fun addItem(itemData: JSONObject, listener: SuccessListener<SyncList.Item>)
Content copied to clipboard
abstract fun addItem( itemData: JSONObject, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Content copied to clipboard
Add Item to the SyncList.
Link copied to clipboard
Retrieves a Date when the List was last updated.
Link copied to clipboard
abstract fun getItem(itemIndex: Long, listener: SuccessListener<SyncList.Item>)
Content 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>)
Content copied to clipboard
abstract fun mutateItem( itemIndex: Long, mutator: SyncMutator, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Content copied to clipboard
Mutate contents of a given Item in the SyncList.
Link copied to clipboard
abstract fun queryItems(options: SyncList.QueryOptions, listener: SuccessListener<SyncListPaginator>)
Content copied to clipboard
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
abstract fun removeItem(itemIndex: Long, listener: SuccessListener<Void>)
Content 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>)
Content copied to clipboard
abstract fun setItem( itemIndex: Long, itemData: JSONObject, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Content copied to clipboard
Set contents of a given Item in the SyncList.
Link copied to clipboard
abstract fun setItemTtl( itemIndex: Long, ttl: Int, listener: SuccessListener<Void>)
Content 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.