QuickContactBadge.AssignContactUri(Uri) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assign the contact uri that this QuickContactBadge should be associated with.
[Android.Runtime.Register("assignContactUri", "(Landroid/net/Uri;)V", "GetAssignContactUri_Landroid_net_Uri_Handler")]
public virtual void AssignContactUri (Android.Net.Uri? contactUri);
[<Android.Runtime.Register("assignContactUri", "(Landroid/net/Uri;)V", "GetAssignContactUri_Landroid_net_Uri_Handler")>]
abstract member AssignContactUri : Android.Net.Uri -> unit
override this.AssignContactUri : Android.Net.Uri -> unit
- contactUri
- Uri
Either a Contacts#CONTENT_URI
or
Contacts#CONTENT_LOOKUP_URI
style URI.
- Attributes
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |