ContactsContract.Intents.ExtraRecipientContactName Field

Definition

This extra specifies the contact name (full name from the Contacts Provider), used with #ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS to supply the recipient.

[Android.Runtime.Register("EXTRA_RECIPIENT_CONTACT_NAME", ApiSince=24)]
public const string ExtraRecipientContactName;
[<Android.Runtime.Register("EXTRA_RECIPIENT_CONTACT_NAME", ApiSince=24)>]
val mutable ExtraRecipientContactName : string

Field Value

Attributes

Remarks

This extra specifies the contact name (full name from the Contacts Provider), used with #ACTION_VOICE_SEND_MESSAGE_TO_CONTACTS to supply the recipient. The value of this extra is a String[]. The number of elements in the array should be equal to number of recipients (and consistent with #EXTRA_RECIPIENT_CONTACT_URI and #EXTRA_RECIPIENT_CONTACT_CHAT_ID). When the value of the element for the particular recipient is absent, it will be set to null.

The value of the elements comes from RawContact's display_name column.

<em>Example value: {"Jane Doe"}</em>

Java documentation for android.provider.ContactsContract.Intents.EXTRA_RECIPIENT_CONTACT_NAME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to