Skip to content

Most visited

Recently visited

navigation
Added in API level 5

ContactsContract.ContactOptionsColumns

protected static interface ContactsContract.ContactOptionsColumns

android.provider.ContactsContract.ContactOptionsColumns
Known Indirect Subclasses


Columns of ContactsContract.Contacts that track the user's preferences for, or interactions with, the contact.

See also:

Summary

Constants

String CUSTOM_RINGTONE

URI for a custom ringtone associated with the contact.

String LAST_TIME_CONTACTED

The last time a contact was contacted.

String PINNED

The position at which the contact is pinned.

String SEND_TO_VOICEMAIL

Whether the contact should always be sent to voicemail.

String STARRED

Is the contact starred?

Type: INTEGER (boolean)

String TIMES_CONTACTED

The number of times a contact has been contacted

Type: INTEGER

Constants

CUSTOM_RINGTONE

Added in API level 5
String CUSTOM_RINGTONE

URI for a custom ringtone associated with the contact. If null or missing, the default ringtone is used.

Type: TEXT (URI to the ringtone)

Constant Value: "custom_ringtone"

LAST_TIME_CONTACTED

Added in API level 5
String LAST_TIME_CONTACTED

The last time a contact was contacted.

Type: INTEGER

Constant Value: "last_time_contacted"

PINNED

Added in API level 21
String PINNED

The position at which the contact is pinned. If UNPINNED, the contact is not pinned. Also see ContactsContract.PinnedPositions.

Type: INTEGER

Constant Value: "pinned"

SEND_TO_VOICEMAIL

Added in API level 5
String SEND_TO_VOICEMAIL

Whether the contact should always be sent to voicemail. If missing, defaults to false.

Type: INTEGER (0 for false, 1 for true)

Constant Value: "send_to_voicemail"

STARRED

Added in API level 5
String STARRED

Is the contact starred?

Type: INTEGER (boolean)

Constant Value: "starred"

TIMES_CONTACTED

Added in API level 5
String TIMES_CONTACTED

The number of times a contact has been contacted

Type: INTEGER

Constant Value: "times_contacted"

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.