Android Guides | Samples

Android.Database.ContentObserver Class

Receives call backs for changes to content.

See Also: ContentObserver

Syntax

[Android.Runtime.Register("android/database/ContentObserver", DoNotGenerateAcw=true)]
public abstract class ContentObserver : Object

Remarks

Receives call backs for changes to content. Must be implemented by objects which are added to a ContentObservable.

[Android Documentation]

Requirements

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

The members of Android.Database.ContentObserver are listed below.

See Also: Object

Public Constructors

Creates a content observer.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DeliverSelfNotifications() : Boolean
Returns true if this observer is interested receiving self-change notifications.
DispatchChange(Boolean)
Dispatches a change notification to the observer.
DispatchChange(Boolean, Uri)
Dispatches a change notification to the observer.
OnChange(Boolean)
This method is called when a content change occurs.
OnChange(Boolean, Uri)
This method is called when a content change occurs.