Share via


ViewTreeObserver.IOnTouchModeChangeListener.OnTouchModeChanged Method

Definition

Callback method to be invoked when the touch mode changes.

[Android.Runtime.Register("onTouchModeChanged", "(Z)V", "GetOnTouchModeChanged_ZHandler:Android.Views.ViewTreeObserver/IOnTouchModeChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnTouchModeChanged (bool isInTouchMode);
[<Android.Runtime.Register("onTouchModeChanged", "(Z)V", "GetOnTouchModeChanged_ZHandler:Android.Views.ViewTreeObserver/IOnTouchModeChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnTouchModeChanged : bool -> unit

Parameters

isInTouchMode
Boolean

True if the view hierarchy is now in touch mode, false otherwise.

Attributes

Remarks

Callback method to be invoked when the touch mode changes.

Java documentation for android.view.ViewTreeObserver.OnTouchModeChangeListener.onTouchModeChanged(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