SyncMap
Types
Link copied to clipboard
interface QueryOptions
Options passed while querying SyncMap 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
Retrieves a Date when the Map was last updated.
Link copied to clipboard
Retrieve Item from the SyncMap.
Link copied to clipboard
Get iterator access to all items in the map.
Link copied to clipboard
Retrieves a user-set unique name for this SyncMap.
Link copied to clipboard
abstract fun mutateItem(itemKey: String, mutator: SyncMutator, listener: SuccessListener<SyncMap.Item>)
abstract fun mutateItem(itemKey: String, mutator: SyncMutator, metadata: SyncMap.Item.Metadata, listener: SuccessListener<SyncMap.Item>)
Mutate Item in the SyncMap.
Link copied to clipboard
Query paginated sequence of items from the map, based on query options.
Link copied to clipboard
Provide options for querying items from the SyncMap.
Link copied to clipboard
Remove Item from the SyncMap.
Link copied to clipboard
Remove entire SyncMap object.
Link copied to clipboard
abstract fun setItem(itemKey: String, itemData: JSONObject, listener: SuccessListener<SyncMap.Item>)
abstract fun setItem(itemKey: String, itemData: JSONObject, metadata: SyncMap.Item.Metadata, listener: SuccessListener<SyncMap.Item>)
Set Item in the SyncMap.
Link copied to clipboard
Set time to live for an item in list.
Link copied to clipboard
Set time to live for map object in seconds.