delete

open fun delete(@NonNull uri: Uri, @Nullable selection: String, @Nullable selectionArgs: Array<String>): Int

This provider does not support delete operations.

Return

Always returns 0 as this provider does not support deletes.

Parameters

uri

The full URI to query.

selection

An optional restriction to apply to rows when deleting.

selectionArgs

You may include ?s in selection, which will be replaced by values from selectionArgs.