Added in API level 33

AccessibilityServicesStateChangeListener


interface AccessibilityServicesStateChangeListener
android.view.accessibility.AccessibilityManager.AccessibilityServicesStateChangeListener

Listener for changes to the state of accessibility services.

This refers to changes to AccessibilityServiceInfo, including:

  • Whenever a service is enabled or disabled, or its info has been set or removed.
  • Whenever a metadata attribute of any running service's info changes.

Summary

Public methods
abstract Unit

Called when the state of accessibility services changes.

Public methods

onAccessibilityServicesStateChanged

Added in API level 33
abstract fun onAccessibilityServicesStateChanged(manager: AccessibilityManager): Unit

Called when the state of accessibility services changes.

Parameters
manager AccessibilityManager: The manager that is calling back This value cannot be null.