create

Create new SyncMapJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

output

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


open fun create(uniqueName: String?, output: SuccessListener<SyncMapJava>): CancellationToken

Create new SyncMapJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncMapJava upon creation.

output

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


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

Create new SyncMapJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncMapJava upon creation.

ttlSeconds

Time to live in seconds from now.

output

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


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

Create new SyncMapJava object.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to new SyncMapJava upon creation.

ttlSeconds

Time to live in seconds from now.

listener

SyncMapJava.Listener that will receive notifications regarding this map.

output

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