remove

abstract fun remove(id: String, executor: Executor, callback: 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.

executor

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

callback

Callback to handle result.

open fun remove(id: String, callback: 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.