ViewTreeObserver.IOnTouchModeChangeListener.OnTouchModeChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.