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

Syntax

[Android.Runtime.Register("assignContactFromPhone", "(Ljava/lang/String;Z)V", "GetAssignContactFromPhone_Ljava_lang_String_ZHandler")]
public virtual void AssignContactFromPhone (string phoneNumber, bool lazyLookup)

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.

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 5