clear

abstract fun clear(executor: Executor, callback: CompletionCallback<Unit>): AsyncOperationTask

Removes all the records in this data provider.

Return

an object representing pending completion of the task.

Parameters

executor

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

callback

Callback to handle result.

open fun clear(callback: CompletionCallback<Unit>): AsyncOperationTask

Removes all the records in this data provider.

Return

an object representing pending completion of the task.

Parameters

callback

Callback to handle result, triggered on the main thread.