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 | |
|---|---|
Entity(values: ContentValues!) |
|
| Public methods | |
|---|---|
| Unit |
addSubValue(uri: Uri!, values: ContentValues!) |
| ContentValues! | |
| ArrayList<Entity.NamedContentValues!>! | |
| String |
toString()Returns a string representation of the object. |
Public constructors
Public methods
toString
Added in API level 8
fun toString(): String
Returns a string representation of the object.
| Return | |
|---|---|
String |
a string representation of the object. |