Sync Document Java
SyncDocument is an arbitrary JSON value.
You can set, get and modify this value.
To obtain an instance of a SyncDocumentJava use SyncClientJava.documents
Types
Listener for all operations on a SyncDocumentJava.
Properties
A date when this SyncDocumentJava was created.
A date this SyncDocumentJava will expire, null
means will not expire.
A date when this SyncDocumentJava was last updated.
true
when this SyncDocumentJava is offline and doesn't receive updates from backend, false
otherwise.
true
when this SyncDocumentJava has been removed on the backend, false
otherwise.
An immutable system-assigned identifier of this SyncDocumentJava.
Current subscription state.
An optional unique name for this document, assigned at creation time.
Functions
Method to add listener for this SyncDocumentJava.
Close this SyncDocumentJava.
Mutate value of the SyncDocumentJava using provided Mutator function. Once this method finished the jsonData property contains updated document data.
Mutate value of the SyncDocumentJava using provided Mutator function. Once this method finished the jsonData property contains updated document data.
Method to remove all listeners from this SyncDocumentJava.
Remove this SyncDocumentJava.
Method to Method to remove listener from this SyncDocumentJava.
Set value of the SyncDocumentJava as a serialized JSON object.
Set value of the SyncDocumentJava as a serialized JSON object.
Set time to live for this SyncDocumentJava.