public interface

AccessibilityManagerCompat.TouchExplorationStateChangeListener

 androidx.core.view.accessibility.AccessibilityManagerCompat.TouchExplorationStateChangeListener

Overview

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

Methods
public voidonTouchExplorationStateChanged(boolean enabled)

Called when the touch exploration enabled state changes.

Methods

public void onTouchExplorationStateChanged(boolean enabled)

Called when the touch exploration enabled state changes.

Parameters:

enabled: Whether touch exploration is enabled.