Condividi tramite


WindowId.RegisterFocusObserver(WindowId+FocusObserver) Method

Definition

Start monitoring for changes in the focus state of the window.

[Android.Runtime.Register("registerFocusObserver", "(Landroid/view/WindowId$FocusObserver;)V", "GetRegisterFocusObserver_Landroid_view_WindowId_FocusObserver_Handler")]
public virtual void RegisterFocusObserver (Android.Views.WindowId.FocusObserver? observer);
[<Android.Runtime.Register("registerFocusObserver", "(Landroid/view/WindowId$FocusObserver;)V", "GetRegisterFocusObserver_Landroid_view_WindowId_FocusObserver_Handler")>]
abstract member RegisterFocusObserver : Android.Views.WindowId.FocusObserver -> unit
override this.RegisterFocusObserver : Android.Views.WindowId.FocusObserver -> unit

Parameters

Attributes

Remarks

Java documentation for android.view.WindowId.registerFocusObserver(android.view.FocusObserver).

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