Google 致力于为黑人社区推动种族平等。查看具体举措

AccessibilityStateChangeListener

interface AccessibilityStateChangeListener
androidx.core.view.accessibility.AccessibilityManagerCompat.AccessibilityStateChangeListener

Listener for the accessibility state.

Summary

Public methods
abstract Unit

Called back on change in the accessibility state.

Public methods

onAccessibilityStateChanged

abstract fun onAccessibilityStateChanged(enabled: Boolean): Unit

Deprecated: Use AccessibilityManager.AccessibilityStateChangeListener directly.

Called back on change in the accessibility state.

Parameters
enabled Boolean: Whether accessibility is enabled.