Språk

WindowManagerLayoutParams.CanChangeGlobalTouchMode Method

Definition

Returns whether this window is allowed to change the global touch mode state.

[Android.Runtime.Register("canChangeGlobalTouchMode", "()Z", "GetCanChangeGlobalTouchModeHandler", ApiSince=37)]
public virtual bool CanChangeGlobalTouchMode();
[<Android.Runtime.Register("canChangeGlobalTouchMode", "()Z", "GetCanChangeGlobalTouchModeHandler", ApiSince=37)>]
abstract member CanChangeGlobalTouchMode : unit -> bool
override this.CanChangeGlobalTouchMode : unit -> bool

Returns

true if the window can control the touch mode, false otherwise.

Attributes

Remarks

Returns whether this window is allowed to change the global touch mode state. If the window is not WindowManager.LayoutParams.TYPE_INPUT_METHOD, this will always return true (default value).

Android reference for android.view.WindowManager.LayoutParams.canChangeGlobalTouchMode.

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