다음을 통해 공유


ActionMode.OnWindowFocusChanged(Boolean) Method

Definition

Called when the window containing the view that started this action mode gains or loses focus.

[Android.Runtime.Register("onWindowFocusChanged", "(Z)V", "GetOnWindowFocusChanged_ZHandler", ApiSince=23)]
public virtual void OnWindowFocusChanged (bool hasWindowFocus);
[<Android.Runtime.Register("onWindowFocusChanged", "(Z)V", "GetOnWindowFocusChanged_ZHandler", ApiSince=23)>]
abstract member OnWindowFocusChanged : bool -> unit
override this.OnWindowFocusChanged : bool -> unit

Parameters

hasWindowFocus
Boolean

True if the window containing the view that started this action mode now has focus, false otherwise.

Attributes

Remarks

Called when the window containing the view that started this action mode gains or loses focus.

Java documentation for android.view.ActionMode.onWindowFocusChanged(boolean).

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