public final class

AccessibilityManager

extends Object
java.lang.Object
   ↳ android.view.accessibility.AccessibilityManager

Class Overview

System level service that serves as an event dispatch for AccessibilityEvents. Such events are generated when something notable happens in the user interface, for example an Activity starts, the focus or selection of a View changes etc. Parties interested in handling accessibility events implement and register an accessibility service which extends AccessibilityService.

Summary

Public Methods
List<ServiceInfo> getAccessibilityServiceList()
Returns the ServiceInfos of the installed accessibility services.
void interrupt()
Requests interruption of the accessibility feedback from all accessibility services.
boolean isEnabled()
Returns if the AccessibilityManager is enabled.
void sendAccessibilityEvent(AccessibilityEvent event)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public List<ServiceInfo> getAccessibilityServiceList ()

Since: API Level 4

Returns the ServiceInfos of the installed accessibility services.

Returns

public void interrupt ()

Since: API Level 4

Requests interruption of the accessibility feedback from all accessibility services.

public boolean isEnabled ()

Since: API Level 4

Returns if the AccessibilityManager is enabled.

Returns

public void sendAccessibilityEvent (AccessibilityEvent event)

Since: API Level 4

Sends an AccessibilityEvent. If this AccessibilityManager is not enabled the call is a NOOP.

Parameters
event The AccessibilityEvent.
Throws
IllegalStateException if a client tries to send an AccessibilityEvent while accessibility is not enabled.