Sync List
SyncList is an ordered sequence of Item objects as values.
You can add, remove and modify values associated with each index in the list.
To obtain an instance of a SyncList use SyncClient.lists
Properties
A date when this SyncList was created.
A date this SyncList will expire, null
means will not expire.
A date when this SyncList was last updated.
Provides scope of Flows objects to get notified about events.
true
when this SyncList is offline and doesn't receive updates from backend, false
otherwise.
Current subscription state.
An optional unique name for this SyncList, assigned at creation time.
Functions
Add Item to the SyncList.
Add Item to the SyncList.
Serializes the given value into an equivalent JsonObject using a serializer retrieved from reified type parameter and adds it as a new item to the end of the SyncList with a specified TTL.
Retrieve Item from the SyncList.
Mutate value of the existing 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 SyncList.Item
Mutate value of the existing 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 SyncList.Item
Retrieve items from the SyncList.
Remove Item from the SyncList.
Remove this SyncList.
Set Item in the SyncList.
Serializes the given value into an equivalent JsonObject using a serializer retrieved from reified type parameter and set it as value of the SyncList.Item.
Set Item in the SyncList.