Stay organized with collections
Save and categorize content based on your preferences.
public
static
interface
Contacts.OrganizationColumns
android.provider.Contacts.OrganizationColumns
|
Known indirect subclasses
|
This interface was deprecated
in API level 5.
see ContactsContract
Columns from the Organizations table that other columns join into themselves.
Summary
Constants
COMPANY
public static final String COMPANY
This constant is deprecated.
see ContactsContract
The name of the company for this organization.
Type: TEXT
Constant Value:
"company"
ISPRIMARY
public static final String ISPRIMARY
This constant is deprecated.
see ContactsContract
Whether this is the primary organization
Type: INTEGER (if set, non-0 means true)
Constant Value:
"isprimary"
LABEL
public static final String LABEL
This constant is deprecated.
see ContactsContract
The user provided label, only used if TYPE is TYPE_CUSTOM.
Type: TEXT
Constant Value:
"label"
PERSON_ID
public static final String PERSON_ID
This constant is deprecated.
see ContactsContract
The person this organization is tied to.
Type: TEXT
Constant Value:
"person"
TITLE
public static final String TITLE
This constant is deprecated.
see ContactsContract
The title within this organization.
Type: TEXT
Constant Value:
"title"
TYPE
public static final String TYPE
This constant is deprecated.
see ContactsContract
The type of the organizations.
Type: INTEGER (one of the constants below)
Constant Value:
"type"
TYPE_CUSTOM
public static final int TYPE_CUSTOM
This constant is deprecated.
see ContactsContract
Constant Value:
0
(0x00000000)
TYPE_OTHER
public static final int TYPE_OTHER
This constant is deprecated.
see ContactsContract
Constant Value:
2
(0x00000002)
TYPE_WORK
public static final int TYPE_WORK
This constant is deprecated.
see ContactsContract
Constant Value:
1
(0x00000001)
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.OrganizationColumns\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n5](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nSummary: [Constants](#constants) \n\nContacts.OrganizationColumns\n============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/provider/Contacts.OrganizationColumns \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nContacts.OrganizationColumns\n`\n\n\n`\n\n\n`\n\n|-----------------------------------------------|\n| android.provider.Contacts.OrganizationColumns |\n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known indirect subclasses [Contacts.Organizations](/reference/android/provider/Contacts.Organizations) |------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------| | [Contacts.Organizations](/reference/android/provider/Contacts.Organizations) | *This class was deprecated in API level 5. see [ContactsContract](/reference/android/provider/ContactsContract)* | |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This interface was deprecated\nin API level 5.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nColumns from the Organizations table that other columns join into themselves.\n\nSummary\n-------\n\n| ### Constants ||\n|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [String](/reference/java/lang/String) | [COMPANY](/reference/android/provider/Contacts.OrganizationColumns#COMPANY) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [ISPRIMARY](/reference/android/provider/Contacts.OrganizationColumns#ISPRIMARY) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [LABEL](/reference/android/provider/Contacts.OrganizationColumns#LABEL) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [PERSON_ID](/reference/android/provider/Contacts.OrganizationColumns#PERSON_ID) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [TITLE](/reference/android/provider/Contacts.OrganizationColumns#TITLE) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| [String](/reference/java/lang/String) | [TYPE](/reference/android/provider/Contacts.OrganizationColumns#TYPE) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| `int` | [TYPE_CUSTOM](/reference/android/provider/Contacts.OrganizationColumns#TYPE_CUSTOM) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| `int` | [TYPE_OTHER](/reference/android/provider/Contacts.OrganizationColumns#TYPE_OTHER) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n| `int` | [TYPE_WORK](/reference/android/provider/Contacts.OrganizationColumns#TYPE_WORK) *This constant is deprecated. see [ContactsContract](/reference/android/provider/ContactsContract)* |\n\nConstants\n---------\n\n### COMPANY\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String COMPANY\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe name of the company for this organization.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"company\"\n\n\n### ISPRIMARY\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String ISPRIMARY\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nWhether this is the primary organization\n\nType: INTEGER (if set, non-0 means true)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"isprimary\"\n\n\n### LABEL\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String LABEL\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe user provided label, only used if TYPE is TYPE_CUSTOM.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"label\"\n\n\n### PERSON_ID\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String PERSON_ID\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe person this organization is tied to.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"person\"\n\n\n### TITLE\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String TITLE\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe title within this organization.\n\nType: TEXT\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"title\"\n\n\n### TYPE\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final String TYPE\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\nThe type of the organizations.\n\nType: INTEGER (one of the constants below)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n\"type\"\n\n\n### TYPE_CUSTOM\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int TYPE_CUSTOM\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n0\n(0x00000000)\n\n\n### TYPE_OTHER\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int TYPE_OTHER\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n2\n(0x00000002)\n\n\n### TYPE_WORK\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic static final int TYPE_WORK\n```\n\n\n**This constant is deprecated.** \n\nsee [ContactsContract](/reference/android/provider/ContactsContract)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nConstant Value:\n\n1\n(0x00000001)"]]