Added in API level 33

AccessibilityManager.AccessibilityServicesStateChangeListener

public static interface AccessibilityManager.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 void onAccessibilityServicesStateChanged(AccessibilityManager manager)

Called when the state of accessibility services changes.

Public methods

onAccessibilityServicesStateChanged

Added in API level 33
public abstract void onAccessibilityServicesStateChanged (AccessibilityManager manager)

Called when the state of accessibility services changes.

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