Added in API level 1
OnTouchModeChangeListener
interface OnTouchModeChangeListener
android.view.ViewTreeObserver.OnTouchModeChangeListener |
Interface definition for a callback to be invoked when the touch mode changes.
Summary
Public methods | |
---|---|
abstract Unit |
onTouchModeChanged(isInTouchMode: Boolean) Callback method to be invoked when the touch mode changes. |
Public methods
onTouchModeChanged
Added in API level 1
abstract fun onTouchModeChanged(isInTouchMode: Boolean): Unit
Callback method to be invoked when the touch mode changes.
Parameters | |
---|---|
isInTouchMode |
Boolean: True if the view hierarchy is now in touch mode, false otherwise. |