contains

abstract fun contains(id: String, executor: Executor, callback: CompletionCallback<Boolean>): AsyncOperationTask

Checks whether this data provider contains a record with specified id.

Return

an object representing pending completion of the task.

Parameters

id

Record's id to check.

executor

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

callback

Callback to handle result.

open fun contains(id: String, callback: CompletionCallback<Boolean>): AsyncOperationTask

Checks whether this data provider contains a record with specified id.

Return

an object representing pending completion of the task.

Parameters

id

Record's id to check.

callback

Callback to handle result, triggered on the main thread.