set List Item With Ttl
abstract fun setListItemWithTtl(listSidOrUniqueName: String, itemIndex: Long, jsonData: String, ttlSeconds: Long, callback: SuccessListener<SyncListJava.Item>): CancellationToken
Set Item in the SyncListJava without opening it.
Return
CancellationToken which allows to cancel network request.
Parameters
list Sid Or Unique Name
SID or unique name of existing SyncListJava.
item Index
Index of the item to set.
json Data
Item data to set as a serialized JSON object.
ttl Seconds
Time to live in seconds from now or 0 to indicate no expiry.
callback
Async result listener that will receive new value of the SyncListJava.Item in its onSuccess() callback or any error in onFailure() callback.