contains

abstract fun contains(id: String, callback: IndexableDataProvider.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.