共用方式為


MockCursor.RegisterContentObserver(ContentObserver) Method

Definition

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.

Applies to