QuickContactBadge.AssignContactFromPhone QuickContactBadge.AssignContactFromPhone Method

Definition

Overloads

AssignContactFromPhone(String, Boolean) AssignContactFromPhone(String, Boolean)

Assign a contact based on a phone number.

AssignContactFromPhone(String, Boolean, Bundle) AssignContactFromPhone(String, Boolean, Bundle)

Assign a contact based on a phone number.

AssignContactFromPhone(String, Boolean) AssignContactFromPhone(String, Boolean)

Assign a contact based on a phone number.

[Android.Runtime.Register("assignContactFromPhone", "(Ljava/lang/String;Z)V", "GetAssignContactFromPhone_Ljava_lang_String_ZHandler")]
public virtual void AssignContactFromPhone (string phoneNumber, bool lazyLookup);
abstract member AssignContactFromPhone : string * bool -> unit
override this.AssignContactFromPhone : string * bool -> unit

Parameters

phoneNumber
String String

The phone number of the contact.

lazyLookup
Boolean Boolean

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

Remarks

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.

AssignContactFromPhone(String, Boolean, Bundle) AssignContactFromPhone(String, Boolean, Bundle)

Assign a contact based on a phone number.

[Android.Runtime.Register("assignContactFromPhone", "(Ljava/lang/String;ZLandroid/os/Bundle;)V", "GetAssignContactFromPhone_Ljava_lang_String_ZLandroid_os_Bundle_Handler", ApiSince=18)]
public virtual void AssignContactFromPhone (string phoneNumber, bool lazyLookup, Android.OS.Bundle extras);
abstract member AssignContactFromPhone : string * bool * Android.OS.Bundle -> unit
override this.AssignContactFromPhone : string * bool * Android.OS.Bundle -> unit

Parameters

phoneNumber
String String

The phone number of the contact.

lazyLookup
Boolean Boolean

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

extras
Bundle 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 phone number to an existing contact or create a new contact. Uses the same string constants as those found in ContactsContract.Intents.Insert

Remarks

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