Android.Widget.QuickContactBadge.AssignContactFromPhone Method
Assign a contact based on a phone number.

Syntax

[Android.Runtime.Register("assignContactFromPhone", "(Ljava/lang/String;ZLandroid/os/Bundle;)V", "GetAssignContactFromPhone_Ljava_lang_String_ZLandroid_os_Bundle_Handler")]
public virtual void AssignContactFromPhone (string phoneNumber, bool lazyLookup, Android.OS.Bundle extras)

Parameters

phoneNumber
The phone number of the contact.
lazyLookup
If this is true, the lookup query will not be performed until this view is clicked.
extras
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 NoType:android/provider/ContactsContract$Intents$Insert;Href=../../../reference/android/provider/ContactsContract.Intents.Insert.html

Remarks

Assign a contact based on a phone number. 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 phone number.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18