Android.Content.ContentResolver.RegisterContentObserver Method
Register an observer class that gets callbacks when data identified by a given content URI changes.

Syntax

[Android.Runtime.Register("registerContentObserver", "(Landroid/net/Uri;ZLandroid/database/ContentObserver;)V", "")]
public void RegisterContentObserver (Android.Net.Uri uri, bool notifyForDescendents, Android.Database.ContentObserver observer)

See Also

ContentResolver.UnregisterContentObserver(Android.Database.ContentObserver)

Parameters

uri
The URI to watch for changes. This can be a specific row URI, or a base URI for a whole class of content.
notifyForDescendents
If true changes to URIs beginning with uri will also cause notifications to be sent. If false only changes to the exact URI specified by uri will cause notifications to be sent. If true, any URI values at or below the specified URI will also trigger a match.
observer
The object that receives callbacks when changes occur.

Remarks

Register an observer class that gets callbacks when data identified by a given content URI changes.

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1