mutateItem
abstract fun mutateItem(itemIndex: Long, mutator: SyncMutator, listener: SuccessListener<SyncList.Item>)
Mutate contents of a given Item in the SyncList. Uses default metadata.
Parameters
itemIndex
Index of the item to mutate.
mutator
Mutator function object.
listener
Async result listener. See SuccessListener.
See also
abstract fun mutateItem(itemIndex: Long, mutator: SyncMutator, metadata: SyncList.Item.Metadata, listener: SuccessListener<SyncList.Item>)
Mutate contents of a given Item in the SyncList.
Parameters
itemIndex
Index of the item to mutate.
mutator
Mutator function object.
metadata
Optional metadata for the mutated item, currently only ttl.
listener
Async result listener. See SuccessListener.