ContactOptionsColumns
protected interface ContactOptionsColumns
android.provider.ContactsContract.ContactOptionsColumns |
Columns of ContactsContract.Contacts
that track the user's preferences for, or interactions with, the contact.
Summary
Constants | |
---|---|
static String |
URI for a custom ringtone associated with the contact. |
static String |
The last time a contact was contacted. |
static String |
The position at which the contact is pinned. |
static String |
Whether the contact should always be sent to voicemail. |
static String |
Is the contact starred? |
static String |
The number of times a contact has been contacted. |
Constants
CUSTOM_RINGTONE
static val CUSTOM_RINGTONE: String
URI for a custom ringtone associated with the contact. If null or missing, the default ringtone is used.
Type: TEXT (URI to the ringtone)
Value: "custom_ringtone"
LAST_TIME_CONTACTED
static valLAST_TIME_CONTACTED: String
Deprecated: Contacts affinity information is no longer supported as of Android version android.os.Build.VERSION_CODES#Q
. This column always contains 0.
The last time a contact was contacted.
Caution: If you publish your app to the Google Play Store, this field is obsolete, regardless of Android version. For more information, see the Contacts Provider page.
Type: INTEGER
Value: "last_time_contacted"
PINNED
static val PINNED: String
The position at which the contact is pinned. If PinnedPositions.UNPINNED
, the contact is not pinned. Also see PinnedPositions
.
Type: INTEGER
Value: "pinned"
SEND_TO_VOICEMAIL
static val SEND_TO_VOICEMAIL: String
Whether the contact should always be sent to voicemail. If missing, defaults to false.
Type: INTEGER (0 for false, 1 for true)
Value: "send_to_voicemail"
STARRED
static val STARRED: String
Is the contact starred?
Type: INTEGER (boolean)
Value: "starred"
TIMES_CONTACTED
static valTIMES_CONTACTED: String
Deprecated: Contacts affinity information is no longer supported as of Android version android.os.Build.VERSION_CODES#Q
. This column always contains 0.
The number of times a contact has been contacted.
Caution: If you publish your app to the Google Play Store, this field is obsolete, regardless of Android version. For more information, see the Contacts Provider page.
Type: INTEGER
Value: "times_contacted"