Added in API level 1

ViewTreeObserver.OnTouchModeChangeListener


public static interface ViewTreeObserver.OnTouchModeChangeListener

android.view.ViewTreeObserver.OnTouchModeChangeListener


Interface definition for a callback to be invoked when the touch mode changes.

Summary

Public methods

abstract void onTouchModeChanged(boolean isInTouchMode)

Callback method to be invoked when the touch mode changes.

Public methods

onTouchModeChanged

Added in API level 1
public abstract void onTouchModeChanged (boolean isInTouchMode)

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.