remove

abstract fun remove(id: String, callback: IndexableDataProvider.CompletionCallback<Boolean>): AsyncOperationTask

Removes the record with specified id. Passed to callback true if the record was removed and false if there was no record with the specified id.

Return

an object representing pending completion of the task.

Parameters

id

Id of the record to remove.

callback

Callback to handle result, triggered on the main thread.