mutateData
Mutate value of the document using provided Mutator function. Uses default metadata.
Parameters
mutator
Mutator which will be applied to document data.
listener
Async result listener. See SuccessListener.
abstract fun mutateData(mutator: SyncMutator, metadata: SyncDocument.Metadata, listener: SuccessListener<JSONObject>)
Mutate value of the document using provided Mutator function.
Parameters
mutator
Mutator which will be applied to document data.
metadata
Optional metadata for the updated document, currently only ttl.
listener
Async result listener. See SuccessListener.