# Contacts.People.ContactMethods

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in[API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# ContactMethods

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/provider/Contacts.People.ContactMethods "View this page in Java")  

```
class ContactMethods : BaseColumns, Contacts.ContactMethodsColumns, Contacts.PeopleColumns
```

|---|----------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                     ||
| ↳ | [android.provider.Contacts.People.ContactMethods](https://developer.android.com/reference/kotlin/android/provider/Contacts.People.ContactMethods#) |

*** ** * ** ***

| **This class was deprecated in API level 5.**
|
| see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)

A subdirectory of a single person that contains all of their ContactMethods.

## Summary

|                                                                                                                                      Constants                                                                                                                                      ||
|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CONTENT_DIRECTORY](https://developer.android.com/reference/kotlin/android/provider/Contacts.People.ContactMethods#CONTENT_DIRECTORY:kotlin.String) The directory twig for this sub-table   |
| static[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DEFAULT_SORT_ORDER](https://developer.android.com/reference/kotlin/android/provider/Contacts.People.ContactMethods#DEFAULT_SORT_ORDER:kotlin.String) The default sort order for this table |

| Inherited constants ||
|---|---|
| From class[ContactMethodsColumns](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns) |----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [AUX_DATA](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#AUX_DATA:kotlin.String) <br /> Auxiliary data for the contact method. Type: TEXT <br />                                                                    | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DATA](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#DATA:kotlin.String) <br /> The data for the contact method. Type: TEXT <br />                                                                                  | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ISPRIMARY](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#ISPRIMARY:kotlin.String) <br /> Whether this is the primary organization Type: INTEGER (if set, non-0 means true) <br />                                  | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [KIND](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#KIND:kotlin.String) <br /> The kind of the the contact method. For example, email address, postal address, etc. Type: INTEGER (one of the values below) <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LABEL](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#LABEL:kotlin.String) <br /> The user defined label for the the contact method. Type: TEXT <br />                                                              | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TYPE](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#TYPE:kotlin.String) <br /> The type of the contact method, must be one of the types below. Type: INTEGER (one of the values below) <br />                      | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_CUSTOM](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#TYPE_CUSTOM:kotlin.Int) <br />                                                                                                                          | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_HOME](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#TYPE_HOME:kotlin.Int) <br />                                                                                                                              | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_OTHER](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#TYPE_OTHER:kotlin.Int) <br />                                                                                                                            | | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [TYPE_WORK](https://developer.android.com/reference/kotlin/android/provider/Contacts.ContactMethodsColumns#TYPE_WORK:kotlin.Int) <br />                                                                                                                              | ||
| From class[PeopleColumns](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns) |----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [CUSTOM_RINGTONE](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#CUSTOM_RINGTONE:kotlin.String) <br /> A custom ringtone associated with a person. Not always present. Type: TEXT (URI to the ringtone) <br />                                                                              | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [DISPLAY_NAME](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#DISPLAY_NAME:kotlin.String) <br /> The display name. If name is not null name, else if number is not null number, else if email is not null email. Type: TEXT <br />                                                          | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [LAST_TIME_CONTACTED](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#LAST_TIME_CONTACTED:kotlin.String) <br /> The last time a person was contacted. Type: INTEGER <br />                                                                                                                   | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NAME](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#NAME:kotlin.String) <br /> The person's name. Type: TEXT <br />                                                                                                                                                                       | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NOTES](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#NOTES:kotlin.String) <br /> Notes about the person. Type: TEXT <br />                                                                                                                                                                | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PHONETIC_NAME](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#PHONETIC_NAME:kotlin.String) <br /> Phonetic equivalent of the person's name, in a locale-dependent character set (e.g. hiragana for Japanese). Used for pronunciation and/or collation in some languages. Type: TEXT <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [PHOTO_VERSION](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#PHOTO_VERSION:kotlin.String) <br /> The server version of the photo Type: TEXT (the version number portion of the photo URI) <br />                                                                                          | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [SEND_TO_VOICEMAIL](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#SEND_TO_VOICEMAIL:kotlin.String) <br /> Whether the person should always be sent to voicemail. Not always present. Type: INTEGER (0 for false, 1 for true) <br />                                                        | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [STARRED](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#STARRED:kotlin.String) <br /> Is the contact starred? Type: INTEGER (boolean) <br />                                                                                                                                               | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [TIMES_CONTACTED](https://developer.android.com/reference/kotlin/android/provider/Contacts.PeopleColumns#TIMES_CONTACTED:kotlin.String) <br /> The number of times a person has been contacted Type: INTEGER <br />                                                                                                                 | ||
| From class[BaseColumns](https://developer.android.com/reference/kotlin/android/provider/BaseColumns) |----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_COUNT](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_COUNT:kotlin.String) <br /> The count of rows in a directory. Type: INTEGER <br /> | | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [_ID](https://developer.android.com/reference/kotlin/android/provider/BaseColumns#_ID:kotlin.String) <br /> The unique ID for a row. Type: INTEGER (long) <br />         | ||

## Constants

### CONTENT_DIRECTORY

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val CONTENT_DIRECTORY: String
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

The directory twig for this sub-table  

    Value: "contact_methods"

### DEFAULT_SORT_ORDER

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val DEFAULT_SORT_ORDER: String
```

**Deprecated:** *see[android.provider.ContactsContract](https://developer.android.com/reference/kotlin/android/provider/ContactsContract)*

The default sort order for this table  

    Value: "data ASC"