Added in API level 8

Entity


class Entity
kotlin.Any
   ↳ android.content.Entity

A representation of a item using ContentValues. It contains one top level ContentValue plus a collection of Uri, ContentValues tuples as subvalues. One example of its use is in Contacts, where the top level ContentValue contains the columns from the RawContacts table and the subvalues contain a ContentValues object for each row from the Data table that corresponds to that RawContact. The uri refers to the Data table uri for each row.

Summary

Nested classes

Public constructors

Public methods
Unit
addSubValue(uri: Uri!, values: ContentValues!)

ContentValues!

ArrayList<Entity.NamedContentValues!>!

String

Public constructors

Entity

Added in API level 8
Entity(values: ContentValues!)

Public methods

addSubValue

Added in API level 8
fun addSubValue(
    uri: Uri!,
    values: ContentValues!
): Unit

getEntityValues

Added in API level 8
fun getEntityValues(): ContentValues!

getSubValues

Added in API level 8
fun getSubValues(): ArrayList<Entity.NamedContentValues!>!

toString

Added in API level 8
fun toString(): String
Return
String a string representation of the object.