AbstractCursor.SetNotificationUris(ContentResolver, IList<Uri>) Method
Definition
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.
Registers multiple content URIs for change notifications.
[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
The content resolver used to register change observers. Must not be null.
The nonempty list of content URIs to watch for changes. The list must not be null.
- Attributes
Remarks
The base implementation registers an observer for each URI in notifyUris. The list must not be null or empty. Its first URI becomes NotificationUri.
Calling this replaces the previous notification URI registration.
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.