MockCursor.RegisterContentObserver(ContentObserver) 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 an observer that is called when changes happen to the content backing this cursor.
[Android.Runtime.Register("registerContentObserver", "(Landroid/database/ContentObserver;)V", "GetRegisterContentObserver_Landroid_database_ContentObserver_Handler")]
public virtual void RegisterContentObserver (Android.Database.ContentObserver? observer);
[<Android.Runtime.Register("registerContentObserver", "(Landroid/database/ContentObserver;)V", "GetRegisterContentObserver_Landroid_database_ContentObserver_Handler")>]
abstract member RegisterContentObserver : Android.Database.ContentObserver -> unit
override this.RegisterContentObserver : Android.Database.ContentObserver -> unit
Parameters
- observer
- ContentObserver
the object that gets notified when the content backing the cursor changes.
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.