AccessibilityManagerCompat.AccessibilityStateChangeListener

Added in 1.1.0
Deprecated in 1.1.0

interface AccessibilityManagerCompat.AccessibilityStateChangeListener


Listener for the accessibility state.

Summary

Public functions

Unit

This function is deprecated.

Use AccessibilityManager.AccessibilityStateChangeListener directly.

Public functions

onAccessibilityStateChanged

Added in 1.1.0
Deprecated in 1.1.0
fun onAccessibilityStateChanged(enabled: Boolean): Unit

Called back on change in the accessibility state.

Parameters
enabled: Boolean

Whether accessibility is enabled.