lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

belongs to Maven artifact androidx.core:core:1.0.0-alpha3

AccessibilityManagerCompat.TouchExplorationStateChangeListener

public static interface AccessibilityManagerCompat.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 AccessibilityManagerCompat.addTouchExplorationStateChangeListener(AccessibilityManager, AccessibilityManagerCompat.TouchExplorationStateChangeListener).

Summary

Public methods

abstract void onTouchExplorationStateChanged(boolean enabled)

Called when the touch exploration enabled state changes.

Public methods

onTouchExplorationStateChanged

public abstract void onTouchExplorationStateChanged (boolean enabled)

Called when the touch exploration enabled state changes.

Parameters
enabled boolean: Whether touch exploration is enabled.