Dil

CursorWrapper.SetNotificationUris(ContentResolver, IList<Uri>) Method

Definition

Similar to setNotificationUri(ContentResolver,Uri), except this version allows to watch multiple content URIs for changes.

[Android.Runtime.Register("setNotificationUris", "(Landroid/content/ContentResolver;Ljava/util/List;)V", "GetSetNotificationUris_Landroid_content_ContentResolver_Ljava_util_List_Handler", ApiSince=29)]
public virtual void SetNotificationUris(Android.Content.ContentResolver? cr, System.Collections.Generic.IList<Android.Net.Uri>? uris);
[<Android.Runtime.Register("setNotificationUris", "(Landroid/content/ContentResolver;Ljava/util/List;)V", "GetSetNotificationUris_Landroid_content_ContentResolver_Ljava_util_List_Handler", ApiSince=29)>]
abstract member SetNotificationUris : Android.Content.ContentResolver * System.Collections.Generic.IList<Android.Net.Uri> -> unit
override this.SetNotificationUris : Android.Content.ContentResolver * System.Collections.Generic.IList<Android.Net.Uri> -> unit

Parameters

cr
ContentResolver

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

uris
IList<Uri>

The content URIs to watch. This value cannot be null.

Attributes

Remarks

Similar to setNotificationUri(ContentResolver,Uri), except this version allows to watch multiple content URIs for changes.

If this is not implemented, this is equivalent to calling setNotificationUri(ContentResolver,Uri) with the first URI in uris.

Calling this overrides any previous call to setNotificationUri(ContentResolver,Uri).

Android reference for android.database.CursorWrapper.setNotificationUris.

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