Share via


AbstractCursor.SetNotificationUri(ContentResolver, Uri) Method

Definition

Specifies a content URI to watch 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? notifyUri);
[<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.

notifyUri
Uri

The URI to watch for changes. This can be a specific row URI, or a base URI for a whole class of content.

Implements

Attributes

Remarks

Specifies a content URI to watch for changes.

Java documentation for android.database.AbstractCursor.setNotificationUri(android.content.ContentResolver, 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