SyncMap
Types
Link copied to clipboard
Options passed while querying SyncMap 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
Retrieves a Date when the Map was last updated.
Link copied to clipboard
abstract fun getItem(itemKey: String, listener: SuccessListener<SyncMap.Item>)
Content 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>)
Content copied to clipboard
abstract fun mutateItem( itemKey: String, mutator: SyncMutator, metadata: SyncMap.Item.Metadata, listener: SuccessListener<SyncMap.Item>)
Content copied to clipboard
Mutate Item in the SyncMap.
Link copied to clipboard
abstract fun queryItems(options: SyncMap.QueryOptions, listener: SuccessListener<SyncMapPaginator>)
Content 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
abstract fun removeItem(itemKey: String, listener: SuccessListener<Void>)
Content 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>)
Content copied to clipboard
abstract fun setItem( itemKey: String, itemData: JSONObject, metadata: SyncMap.Item.Metadata, listener: SuccessListener<SyncMap.Item>)
Content copied to clipboard
Set Item in the SyncMap.
Link copied to clipboard
abstract fun setItemTtl( itemKey: String, 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 map object in seconds.