ContentValues


public final class ContentValues
extends Object implements Parcelable

java.lang.Object
   ↳ android.content.ContentValues


This class is used to store a set of values that the ContentResolver can process.

Summary

Constants

String TAG

Inherited constants

Fields

public static final Creator<ContentValues> CREATOR

Public constructors

ContentValues()

Creates an empty set of values using the default initial size

ContentValues(ContentValues from)

Creates a set of values copied from the given set

ContentValues(int size)

Creates an empty set of values using the given initial size

Public methods

void clear()

Removes all values.

boolean containsKey(String key)

Returns true if this object ha