Window.SetLocalFocus(Boolean, Boolean) Window.SetLocalFocus(Boolean, Boolean) Method

Definition

Set focus locally.

[Android.Runtime.Register("setLocalFocus", "(ZZ)V", "GetSetLocalFocus_ZZHandler", ApiSince=19)]
public virtual void SetLocalFocus (bool hasFocus, bool inTouchMode);
abstract member SetLocalFocus : bool * bool -> unit
override this.SetLocalFocus : bool * bool -> unit

Parameters

hasFocus
Boolean Boolean

Whether this window has focus or not.

inTouchMode
Boolean Boolean

Whether this window is in touch mode or not.

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