Android.Test.Mock.MockCursor.SetNotificationUri Method
Register to watch a content URI for changes.

Syntax

[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)

Parameters

cr
The content resolver from the caller's context. The listener attached to this resolver will be notified.
uri
The content URI to watch.

Remarks

Register to watch a content URI for changes. This can be the URI of a specific data row (for example, "content://my_provider_type/23"), or a a generic URI for a content type.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8