mutateItem

abstract fun mutateItem(    itemIndex: Long,     mutator: SyncMutator,     listener: SuccessListener<SyncList.Item>)

Mutate contents of a given Item in the SyncList. Uses default metadata.

See also

Parameters

itemIndex

Index of the item to mutate.

mutator

Mutator function object.

listener

Async result listener. See SuccessListener.


abstract fun mutateItem(    itemIndex: Long,     mutator: SyncMutator,     metadata: SyncList.Item.Metadata,     listener: SuccessListener<SyncList.Item>)

Mutate contents of a given Item in the SyncList.

See also

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.