setItem

abstract fun setItem(itemIndex: Long, jsonData: String, callback: SuccessListener<SyncListJava.Item>): CancellationToken

Set Item in the SyncListJava.

Return

CancellationToken which allows to cancel network request.

Parameters

itemIndex

Index of the item to set.

jsonData

Item data to set as a serialized JSON object.

callback

Async result listener that will receive new value of the Item in its onSuccess() callback or any error in onFailure() callback.