Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

TouchExplorationStateChangeListener

interface TouchExplorationStateChangeListener
androidx.core.view.accessibility.AccessibilityManagerCompat.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 addTouchExplorationStateChangeListener.

Summary

Public methods
abstract Unit

Called when the touch exploration enabled state changes.

Public methods

onTouchExplorationStateChanged

abstract fun onTouchExplorationStateChanged(enabled: Boolean): Unit

Called when the touch exploration enabled state changes.

Parameters
enabled Boolean: Whether touch exploration is enabled.