Dela via


WindowId.FocusObserver.OnFocusGained(WindowId) Method

Definition

Called when one of the monitored windows gains input focus.

[Android.Runtime.Register("onFocusGained", "(Landroid/view/WindowId;)V", "GetOnFocusGained_Landroid_view_WindowId_Handler")]
public abstract void OnFocusGained (Android.Views.WindowId? token);
[<Android.Runtime.Register("onFocusGained", "(Landroid/view/WindowId;)V", "GetOnFocusGained_Landroid_view_WindowId_Handler")>]
abstract member OnFocusGained : Android.Views.WindowId -> unit

Parameters

token
WindowId
Attributes

Remarks

Called when one of the monitored windows gains input focus.

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

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