Stay organized with collections
Save and categorize content based on your preferences.
Extensions
class Extensions : BaseColumns, Contacts.ExtensionsColumns
The extensions for a person
Summary
Constants |
static String |
The MIME type of a CONTENT_URI subdirectory of a single phone.
|
static String |
The MIME type of CONTENT_URI providing a directory of phones.
|
static String |
The default sort order for this table
|
static String |
The ID of the person this phone number is assigned to.
|
Inherited constants |
From class ExtensionsColumns
String |
NAME
The name of this extension. May not be null. There may be at most one row for each name.
Type: TEXT
|
String |
VALUE
The value of this extension. May not be null.
Type: TEXT
|
|
|
Properties |
static Uri! |
The content:// style URL for this table
|
Constants
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Contacts.Extensions\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\nExtensions\n==========\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/Contacts.Extensions \"View this page in Java\") \n\n```\nclass Extensions : BaseColumns, Contacts.ExtensionsColumns\n```\n\n|---|-------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.provider.Contacts.Extensions](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 5.**\n|\n| see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)\n\nThe extensions for a person\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_ITEM_TYPE](#CONTENT_ITEM_TYPE:kotlin.String) The MIME type of a [CONTENT_URI](#CONTENT_URI:android.net.Uri) subdirectory of a single phone. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_TYPE](#CONTENT_TYPE:kotlin.String) The MIME type of [CONTENT_URI](#CONTENT_URI:android.net.Uri) providing a directory of phones. |\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| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PERSON_ID](#PERSON_ID:kotlin.String) The ID of the person this phone number is assigned to. |\n\n| Inherited constants ||\n|---|---|\n| From class [ExtensionsColumns](/reference/kotlin/android/provider/Contacts.ExtensionsColumns) |----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NAME](/reference/kotlin/android/provider/Contacts.ExtensionsColumns#NAME:kotlin.String) The name of this extension. May not be null. There may be at most one row for each name. Type: TEXT \u003cbr /\u003e | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [VALUE](/reference/kotlin/android/provider/Contacts.ExtensionsColumns#VALUE:kotlin.String) The value of this extension. May not be null. Type: TEXT \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| 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_ITEM_TYPE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_ITEM_TYPE: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe MIME type of a [CONTENT_URI](#CONTENT_URI:android.net.Uri) subdirectory of a single phone. \n\n Value: \"vnd.android.cursor.item/contact_extensions\"\n\n### CONTENT_TYPE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val CONTENT_TYPE: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe MIME type of [CONTENT_URI](#CONTENT_URI:android.net.Uri) providing a directory of phones. \n\n Value: \"vnd.android.cursor.dir/contact_extensions\"\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: \"person, name ASC\"\n\n### PERSON_ID\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val PERSON_ID: String\n```\n\n**Deprecated:** *see [android.provider.ContactsContract](/reference/kotlin/android/provider/ContactsContract)*\n\nThe ID of the person this phone number is assigned to.\n\nType: INTEGER (long) \n\n Value: \"person\"\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"]]