create

Create new SyncDocumentJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

output

Listener that will receive created SyncDocumentJava in its onSuccess() callback or any error in onFailure() callback.


Create new SyncDocumentJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncDocumentJava upon creation.

output

Listener that will receive created SyncDocumentJava in its onSuccess() callback or any error in onFailure() callback.


open fun create(uniqueName: String?, ttlSeconds: Long, output: SuccessListener<SyncDocumentJava>): CancellationToken

Create new SyncDocumentJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncDocumentJava upon creation.

ttlSeconds

Time to live in seconds from now.

output

Listener that will receive created SyncDocumentJava in its onSuccess() callback or any error in onFailure() callback.


abstract fun create(uniqueName: String?, ttlSeconds: Long, listener: SyncDocumentJava.Listener?, output: SuccessListener<SyncDocumentJava>): CancellationToken

Create new SyncDocumentJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncDocumentJava upon creation.

ttlSeconds

Time to live in seconds from now.

listener

SyncDocumentJava.Listener that will receive notifications regarding this document.

output

Listener that will receive created SyncDocumentJava in its onSuccess() callback or any error in onFailure() callback.