create

Creates a new SyncListJava object with no unique name and infinite time to live.

Return

CancellationToken which allows to cancel network request.

Parameters

output

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


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

Creates a new SyncListJava object with a unique name and infinite time to live.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to the new SyncListJava upon creation.

output

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


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

Creates a new SyncListJava object with a unique name and specified time to live.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to the new SyncListJava upon creation.

ttlSeconds

Time to live in seconds from now.

output

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


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

Creates a new SyncListJava object with a unique name, specified time to live, and a listener for notifications.

Return

CancellationToken which allows to cancel network request.

Parameters

uniqueName

Unique name to assign to the new SyncListJava upon creation.

ttlSeconds

Time to live in seconds from now.

listener

SyncListJava.Listener that will receive notifications regarding this list.

output

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