Język

AbstractCursor.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> notifyUris);
[<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 used to register change observers. Must not be null.

notifyUris
IList<Uri>

The nonempty list of content URIs to watch for changes. The list must not 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.AbstractCursor.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