Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 19

AccessibilityManager.TouchExplorationStateChangeListener

public static interface AccessibilityManager.TouchExplorationStateChangeListener

android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener


Listener for the system touch exploration state. To listen for changes to the touch exploration state on the device, implement this interface and register it with the system by calling AccessibilityManager.addTouchExplorationStateChangeListener(AccessibilityManager.TouchExplorationStateChangeListener).

Summary

Public methods

abstract void onTouchExplorationStateChanged(boolean enabled)

Called when the touch exploration enabled state changes.

Public methods

onTouchExplorationStateChanged

added in API level 19
public abstract void onTouchExplorationStateChanged (boolean enabled)

Called when the touch exploration enabled state changes.

Parameters
enabled boolean: Whether touch exploration is enabled.