QuickContactBadge.AssignContactUri(Uri) Method

Definition

Assign the contact uri that this QuickContactBadge should be associated with.

C#
[Android.Runtime.Register("assignContactUri", "(Landroid/net/Uri;)V", "GetAssignContactUri_Landroid_net_Uri_Handler")]
public virtual void AssignContactUri (Android.Net.Uri? contactUri);

Parameters

contactUri
Uri

Either a Contacts#CONTENT_URI or Contacts#CONTENT_LOOKUP_URI style URI.

Attributes

Remarks

Assign the contact uri that this QuickContactBadge should be associated with. Note that this is only used for displaying the QuickContact window and won't bind the contact's photo for you. Call #setImageDrawable(Drawable) to set the photo.

Java documentation for android.widget.QuickContactBadge.assignContactUri(android.net.Uri).

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

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35