次の方法で共有


QuickContactBadge.AssignContactFromEmail Method

Definition

Overloads

AssignContactFromEmail(String, Boolean)

Assign a contact based on an email address.

AssignContactFromEmail(String, Boolean, Bundle)

Assign a contact based on an email address.

AssignContactFromEmail(String, Boolean)

Assign a contact based on an email address.

[Android.Runtime.Register("assignContactFromEmail", "(Ljava/lang/String;Z)V", "GetAssignContactFromEmail_Ljava_lang_String_ZHandler")]
public virtual void AssignContactFromEmail (string? emailAddress, bool lazyLookup);
[<Android.Runtime.Register("assignContactFromEmail", "(Ljava/lang/String;Z)V", "GetAssignContactFromEmail_Ljava_lang_String_ZHandler")>]
abstract member AssignContactFromEmail : string * bool -> unit
override this.AssignContactFromEmail : string * bool -> unit

Parameters

emailAddress
String

The email address of the contact.

lazyLookup
Boolean

If this is true, the lookup query will not be performed until this view is clicked.

Attributes

Remarks

Assign a contact based on an email address. This should only be used when the contact's URI is not available, as an extra query will have to be performed to lookup the URI based on the email.

Java documentation for android.widget.QuickContactBadge.assignContactFromEmail(java.lang.String, boolean).

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

AssignContactFromEmail(String, Boolean, Bundle)

Assign a contact based on an email address.

[Android.Runtime.Register("assignContactFromEmail", "(Ljava/lang/String;ZLandroid/os/Bundle;)V", "GetAssignContactFromEmail_Ljava_lang_String_ZLandroid_os_Bundle_Handler")]
public virtual void AssignContactFromEmail (string? emailAddress, bool lazyLookup, Android.OS.Bundle? extras);
[<Android.Runtime.Register("assignContactFromEmail", "(Ljava/lang/String;ZLandroid/os/Bundle;)V", "GetAssignContactFromEmail_Ljava_lang_String_ZLandroid_os_Bundle_Handler")>]
abstract member AssignContactFromEmail : string * bool * Android.OS.Bundle -> unit
override this.AssignContactFromEmail : string * bool * Android.OS.Bundle -> unit

Parameters

emailAddress
String

The email address of the contact.

lazyLookup
Boolean

If this is true, the lookup query will not be performed until this view is clicked.

extras
Bundle

A bundle of extras to populate the contact edit page with if the contact is not found and the user chooses to add the email address to an existing contact or create a new contact. Uses the same string constants as those found in android.provider.ContactsContract.Intents.Insert

Attributes

Remarks

Assign a contact based on an email address. This should only be used when the contact's URI is not available, as an extra query will have to be performed to lookup the URI based on the email.

Java documentation for android.widget.QuickContactBadge.assignContactFromEmail(java.lang.String, boolean, android.os.Bundle).

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