Share via


MockCursor.SetNotificationUri(ContentResolver, Uri) Method

Definition

Register to watch a content URI for changes.

[Android.Runtime.Register("setNotificationUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", "GetSetNotificationUri_Landroid_content_ContentResolver_Landroid_net_Uri_Handler")]
public virtual void SetNotificationUri (Android.Content.ContentResolver? cr, Android.Net.Uri? uri);
[<Android.Runtime.Register("setNotificationUri", "(Landroid/content/ContentResolver;Landroid/net/Uri;)V", "GetSetNotificationUri_Landroid_content_ContentResolver_Landroid_net_Uri_Handler")>]
abstract member SetNotificationUri : Android.Content.ContentResolver * Android.Net.Uri -> unit
override this.SetNotificationUri : Android.Content.ContentResolver * Android.Net.Uri -> unit

Parameters

cr
ContentResolver

The content resolver from the caller's context. The listener attached to this resolver will be notified.

uri
Uri

The content URI to watch.

Implements

Attributes

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