Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

AccessibilityManagerCompat.AccessibilityStateChangeListener

public static interface AccessibilityManagerCompat.AccessibilityStateChangeListener

androidx.core.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListener


This interface is deprecated.
Use AccessibilityManager.AccessibilityStateChangeListener directly instead of this listener.

Listener for the accessibility state.

Summary

Public methods

abstract void onAccessibilityStateChanged(boolean enabled)

This method is deprecated. Use AccessibilityManager.AccessibilityStateChangeListener directly.

Public methods

onAccessibilityStateChanged

public abstract void onAccessibilityStateChanged (boolean enabled)

This method is deprecated.
Use AccessibilityManager.AccessibilityStateChangeListener directly.

Called back on change in the accessibility state.

Parameters
enabled boolean: Whether accessibility is enabled.