Sync Map
SyncMap is a key-value store with Strings as keys and Item objects as values.
You can add, remove and modify values associated with the keys.
To obtain an instance of a SyncMap use SyncClient.maps
Properties
A date when this SyncMap was created.
A date this SyncMap will expire, null
means will not expire.
A date when this SyncMap was last updated.
Provides scope of Flows objects to get notified about events.
true
when this SyncMap is offline and doesn't receive updates from backend, false
otherwise.
Current subscription state.
An optional unique name for this SyncMap, assigned at creation time.
Functions
Retrieve Item from the SyncMap.
Mutate value of the Item using provided Mutator function.
Serializes the value returned by Mutator function into an equivalent JsonObject using a serializer retrieved from reified type parameter and uses the JsonObject to mutate value of the SyncMap.Item
Serializes the value returned by Mutator function into an equivalent JsonObject using a serializer retrieved from reified type parameter and uses the JsonObject to mutate value of the SyncMap.Item
Retrieve items from the SyncMap.
Remove Item from the SyncMap.
Set Item in the SyncMap.
Serializes the given value into an equivalent JsonObject using a serializer retrieved from reified type parameter and set it as value of the SyncMap.Item.
Set Item in the SyncMap.
Serializes the given value into an equivalent JsonObject using a serializer retrieved from reified type parameter and set it as value of the SyncMap.Item.