update

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

This provider does not support update operations.

Return

Always returns 0 as this provider does not support updates.

Parameters

uri

The URI to query.

values

A set of column_name/value pairs to update in the database.

selection

An optional filter to match rows to update.

selectionArgs

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