update Document With Ttl
abstract fun updateDocumentWithTtl(sidOrUniqueName: String, jsonData: String, ttlSeconds: Long, callback: SuccessListener<Unit>): CancellationToken
Set value of the SyncDocumentJava as a JSON object without opening it.
Return
CancellationToken which allows to cancel network request.
Parameters
sid Or Unique Name
SID or unique name of existing SyncDocumentJava.
json Data
New document data as a serialised JSON object.
ttl Seconds
Time to live in seconds from now or 0 to indicate no expiry.
callback
Async result listener. See SuccessListener.