Stay organized with collections
Save and categorize content based on your preferences.
CommonDataKinds
class CommonDataKinds
Container for definitions of common data types stored in the ContactsContract.Data
table.
Summary
Nested classes |
abstract |
The base types that all "Typed" data kinds support.
|
|
Convenient functionalities for "callable" data.
|
abstract |
Columns common across the specific types.
|
|
A special class of data items, used to refer to types of data that can be used to attempt to start communicating with a person (Phone and Email ).
|
|
A data kind representing an email address.
|
|
A data kind representing an event.
|
|
Group Membership.
|
|
A data kind representing an Identity related to the contact.
|
|
A data kind representing an IM address
|
|
A data kind representing the contact's nickname.
|
|
Notes about the contact.
|
|
A data kind representing an organization.
|
|
A data kind representing a telephone number.
|
|
A data kind representing a photo for the contact.
|
|
A data kind representing a relation.
|
|
A data kind representing a SIP address for the contact.
|
|
A data kind representing the contact's proper name.
|
|
A data kind representing a postal addresses.
|
|
A data kind representing a website related to the contact.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ContactsContract.CommonDataKinds\n\nAdded in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCommonDataKinds\n===============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/ContactsContract.CommonDataKinds \"View this page in Java\") \n\n```\nclass CommonDataKinds\n```\n\n|---|--------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.ContactsContract.CommonDataKinds](#) |\n\nContainer for definitions of common data types stored in the [ContactsContract.Data](/reference/kotlin/android/provider/ContactsContract.Data) table.\n\nSummary\n-------\n\n| Nested classes ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract | [BaseTypes](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.BaseTypes) The base types that all \"Typed\" data kinds support. |\n| | [Callable](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Callable) Convenient functionalities for \"callable\" data. |\n| abstract | [CommonColumns](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.CommonColumns) Columns common across the specific types. |\n| | [Contactables](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Contactables) A special class of data items, used to refer to types of data that can be used to attempt to start communicating with a person ([Phone](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Phone) and [Email](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Email)). |\n| | [Email](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Email) A data kind representing an email address. |\n| | [Event](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Event) A data kind representing an event. |\n| | [GroupMembership](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.GroupMembership) Group Membership. |\n| | [Identity](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Identity) A data kind representing an Identity related to the contact. |\n| | [Im](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Im) A data kind representing an IM address |\n| | [Nickname](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Nickname) A data kind representing the contact's nickname. |\n| | [Note](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Note) Notes about the contact. |\n| | [Organization](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Organization) A data kind representing an organization. |\n| | [Phone](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Phone) A data kind representing a telephone number. |\n| | [Photo](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Photo) A data kind representing a photo for the contact. |\n| | [Relation](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Relation) A data kind representing a relation. |\n| | [SipAddress](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.SipAddress) A data kind representing a SIP address for the contact. |\n| | [StructuredName](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.StructuredName) A data kind representing the contact's proper name. |\n| | [StructuredPostal](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.StructuredPostal) A data kind representing a postal addresses. |\n| | [Website](/reference/kotlin/android/provider/ContactsContract.CommonDataKinds.Website) A data kind representing a website related to the contact. |"]]