get

abstract fun get(id: String, executor: Executor, callback: CompletionCallback<in R?>): AsyncOperationTask

Retrieves the record with specified id or null if there's no such record.

Return

an object representing pending completion of the task.

Parameters

id

Record's id.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

callback

Callback to handle result.


open fun get(id: String, callback: CompletionCallback<in R?>): AsyncOperationTask

Retrieves the record with specified id or null if there's no such record.

Return

an object representing pending completion of the task.

Parameters

id

Record's id.

callback

Callback to handle result, triggered on the main thread.