Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
protected static interface

ContactsContract.ContactOptionsColumns

android.provider.ContactsContract.ContactOptionsColumns
Known Indirect Subclasses

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 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

public static final String CUSTOM_RINGTONE

Added in API level 5

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"

public static final String LAST_TIME_CONTACTED

Added in API level 5

The last time a contact was contacted.

Type: INTEGER

Constant Value: "last_time_contacted"

public static final String SEND_TO_VOICEMAIL

Added in API level 5

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"

public static final String STARRED

Added in API level 5

Is the contact starred?

Type: INTEGER (boolean)

Constant Value: "starred"

public static final String TIMES_CONTACTED

Added in API level 5

The number of times a contact has been contacted

Type: INTEGER

Constant Value: "times_contacted"