update

open fun update(@NonNull uri: Uri, contentValues: ContentValues, s: String, strings: 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.

contentValues

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

s

An optional filter to match rows to update.

strings

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