Stay organized with collections
Save and categorize content based on your preferences.
interface ContactMethodsColumns
Columns from the ContactMethods table that other tables join into themseleves.
Summary
Constants |
static String |
Auxiliary data for the contact method.
|
static String |
The data for the contact method.
|
static String |
Whether this is the primary organization
|
static String |
The kind of the the contact method.
|
static String |
The user defined label for the the contact method.
|
static String |
The type of the contact method, must be one of the types below.
|
static Int |
|
static Int |
|
static Int |
|
static Int |
|
Constants
KIND
static val KIND: String
Deprecated: see android.provider.ContactsContract
The kind of the the contact method. For example, email address, postal address, etc.
Type: INTEGER (one of the values below)
Value: "kind"
TYPE
static val TYPE: String
Deprecated: see android.provider.ContactsContract
The type of the contact method, must be one of the types below.
Type: INTEGER (one of the values below)
Value: "type"
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Contacts.ContactMethodsColumns\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nContactMethodsColumns\n=====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Contacts.ContactMethodsColumns \"View this page in Java\") \n\n```\ninterface ContactMethodsColumns\n```\n\n|------------------------------------------------------|\n| [android.provider.Contacts.ContactMethodsColumns](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Contacts.ContactMethods](/reference/kotlin/android/provider/Contacts.ContactMethods), [Contacts.People.ContactMethods](/reference/kotlin/android/provider/Contacts.People.ContactMethods) |-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------| | [Contacts.ContactMethods](/reference/kotlin/android/provider/Contacts.ContactMethods) | This table stores all non-phone contact methods and a reference to the person that the contact method belongs to. | | [Contacts.People.ContactMethods](/reference/kotlin/android/provider/Contacts.People.ContactMethods) | A subdirectory of a single person that contains all of their ContactMethods. | |\n\n*** ** * ** ***\n\n| **This interface was deprecated in API level 5.**\n|\n| see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)\n\nColumns from the ContactMethods table that other tables join into themseleves.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [AUX_DATA](#AUX_DATA:kotlin.String) Auxiliary data for the contact method. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](#DATA:kotlin.String) The data for the contact method. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ISPRIMARY](#ISPRIMARY:kotlin.String) Whether this is the primary organization |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [KIND](#KIND:kotlin.String) The kind of the the contact method. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LABEL](#LABEL:kotlin.String) The user defined label for the the contact method. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](#TYPE:kotlin.String) The type of the contact method, must be one of the types below. |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_CUSTOM](#TYPE_CUSTOM:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_HOME](#TYPE_HOME:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_OTHER](#TYPE_OTHER:kotlin.Int) \u003cbr /\u003e |\n| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_WORK](#TYPE_WORK:kotlin.Int) \u003cbr /\u003e |\n\nConstants\n---------\n\n### AUX_DATA\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val AUX_DATA: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nAuxiliary data for the contact method.\n\nType: TEXT \n\n Value: \"aux_data\"\n\n### DATA\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DATA: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe data for the contact method.\n\nType: TEXT \n\n Value: \"data\"\n\n### ISPRIMARY\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ISPRIMARY: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nWhether this is the primary organization\n\nType: INTEGER (if set, non-0 means true) \n\n Value: \"isprimary\"\n\n### KIND\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val KIND: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe kind of the the contact method. For example, email address, postal address, etc.\n\nType: INTEGER (one of the values below) \n\n Value: \"kind\"\n\n### LABEL\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val LABEL: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe user defined label for the the contact method.\n\nType: TEXT \n\n Value: \"label\"\n\n### TYPE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe type of the contact method, must be one of the types below.\n\nType: INTEGER (one of the values below) \n\n Value: \"type\"\n\n### TYPE_CUSTOM\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE_CUSTOM: Int\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)* \n\n Value: 0\n\n### TYPE_HOME\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE_HOME: Int\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)* \n\n Value: 1\n\n### TYPE_OTHER\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE_OTHER: Int\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)* \n\n Value: 3\n\n### TYPE_WORK\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE_WORK: Int\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)* \n\n Value: 2"]]