MockCursor.SetNotificationUri(ContentResolver, 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.
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
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.