Stay organized with collections
Save and categorize content based on your preferences.
Organizations
class Organizations : BaseColumns, Contacts.OrganizationColumns
A sub directory of a single person that contains all of their Phones.
Summary
Constants |
static String |
The directory twig for this sub-table
|
static String |
The default sort order for this table
|
Properties |
static Uri! |
The content:// style URL for this table
|
Constants
Public methods
Properties
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,["# Contacts.Organizations\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\nOrganizations\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Contacts.Organizations \"View this page in Java\") \n\n```\nclass Organizations : BaseColumns, Contacts.OrganizationColumns\n```\n\n|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.Contacts.Organizations](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 5.**\n|\n| see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)\n\nA sub directory of a single person that contains all of their Phones.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_DIRECTORY](#CONTENT_DIRECTORY:kotlin.String) The directory twig for this sub-table |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DEFAULT_SORT_ORDER](#DEFAULT_SORT_ORDER:kotlin.String) The default sort order for this table |\n\n| Inherited constants ||\n|---|---|\n| From class [OrganizationColumns](/reference/kotlin/android/provider/Contacts.OrganizationColumns) |----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [COMPANY](/reference/kotlin/android/provider/Contacts.OrganizationColumns#COMPANY:kotlin.String) The name of the company for this organization. Type: TEXT \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ISPRIMARY](/reference/kotlin/android/provider/Contacts.OrganizationColumns#ISPRIMARY:kotlin.String) Whether this is the primary organization Type: INTEGER (if set, non-0 means true) \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LABEL](/reference/kotlin/android/provider/Contacts.OrganizationColumns#LABEL:kotlin.String) The user provided label, only used if TYPE is TYPE_CUSTOM. Type: TEXT \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PERSON_ID](/reference/kotlin/android/provider/Contacts.OrganizationColumns#PERSON_ID:kotlin.String) The person this organization is tied to. Type: TEXT \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TITLE](/reference/kotlin/android/provider/Contacts.OrganizationColumns#TITLE:kotlin.String) The title within this organization. Type: TEXT \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE:kotlin.String) The type of the organizations. Type: INTEGER (one of the constants below) \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_CUSTOM](/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_CUSTOM:kotlin.Int) \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_OTHER](/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_OTHER:kotlin.Int) \u003cbr /\u003e | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [TYPE_WORK](/reference/kotlin/android/provider/Contacts.OrganizationColumns#TYPE_WORK:kotlin.Int) \u003cbr /\u003e | ||\n| From class [BaseColumns](/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) The count of rows in a directory. Type: INTEGER \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) The unique ID for a row. Type: INTEGER (long) \u003cbr /\u003e | ||\n\n| Public methods ||\n|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)! | [getDisplayLabel](#getDisplayLabel(android.content.Context,%20kotlin.Int,%20kotlin.CharSequence))`(`context:` `[Context](../content/Context.html#)!`, `type:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, `label:` `[CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)!`)` \u003cbr /\u003e |\n\n| Properties ||\n|---------------------------------|-------------------------------------------------------------------------------------|\n| static [Uri](../net/Uri.html#)! | [CONTENT_URI](#CONTENT_URI:android.net.Uri) The content:// style URL for this table |\n\nConstants\n---------\n\n### CONTENT_DIRECTORY\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_DIRECTORY: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe directory twig for this sub-table \n\n Value: \"organizations\"\n\n### DEFAULT_SORT_ORDER\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val DEFAULT_SORT_ORDER: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe default sort order for this table \n\n Value: \"company, title, isprimary ASC\"\n\nPublic methods\n--------------\n\n### getDisplayLabel\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic fun getDisplayLabel(\n context: Context!, \n type: Int, \n label: CharSequence!\n): CharSequence!\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nProperties\n----------\n\n### CONTENT_URI\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_URI: Uri!\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe content:// style URL for this table"]]