Android Guides | Samples

Android.Views.Accessibility Namespace

The classes in this package are used to represent screen content and changes to it as well as APIs for querying the global accessibility state of the system.

Remarks

The classes in this package are used to represent screen content and changes to it as well as APIs for querying the global accessibility state of the system.

AccessibilityEvent s are sent by the system when something notable happens in the user interface. For example, when a Button is clicked, a View is focused, etc.

AccessibilityRecord contains information about state change of its source View. When a view fires an accessibility event it requests from its parent to dispatch the constructed event. The parent may optionally append a record for itself for providing more context to AccessibilityServices. Hence, accessibility services can facilitate additional accessibility records to enhance feedback.

AccessibilityNodeInfo represents a node of the window content as well as actions that can be requested from its source. From the point of view of an AccessibilityService a window content is presented as tree of accessibility node info which may or may not map one-to-one to the view hierarchy. In other words, a custom view is free to report itself as a tree of accessibility node info.

AccessibilityManager is a system level service that serves as an event dispatch for AccessibilityEvents, and provides facilities for querying the accessibility state of the system. Accessibility 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.

Developer Guides

For more information about making applications accessible, read the Accessibility developer guide.

Classes

TypeReason
AccessibilityEvent

Developer Guides

View text traversed at movement granularity - represents the event of traversing the text of a view at a given granularity.
AccessibilityEvent+InterfaceConsts
AccessibilityManagerSystem level service that serves as an event dispatch for AccessibilityEvents, and provides facilities for querying the accessibility state of the system.
AccessibilityManager+AccessibilityStateChangeEventArgs
AccessibilityManager+IAccessibilityStateChangeListenerListener for the system accessibility state.
AccessibilityManager+ITouchExplorationStateChangeListener
AccessibilityManager+TouchExplorationStateChangeEventArgs
AccessibilityNodeInfoThis class represents a node of the window content as well as actions that can be requested from its source.
AccessibilityNodeInfo+AccessibilityAction
AccessibilityNodeInfo+CollectionInfo
AccessibilityNodeInfo+CollectionItemInfo
AccessibilityNodeInfo+InterfaceConsts
AccessibilityNodeInfo+RangeInfo
AccessibilityNodeProviderThis class is the contract a client should implement to enable support of a virtual view hierarchy rooted at a given view for accessibility purposes.
AccessibilityRecordRepresents a record in an AccessibilityEvent and contains information about state change of its source View.
AccessibilityWindowInfoThis class represents a state snapshot of a window for accessibility purposes.
AccessibilityWindowInfo+InterfaceConsts
AccessibilityWindowTypeEnumerates values returned by several types.
ActionEnumerates values returned by several types and taken as a parameter of the AccessibilityNodeInfo.AddAction, AccessibilityNodeInfo.PerformAction, and AccessibilityNodeInfo.PerformAction members.
CaptioningManagerContains methods for accessing and monitoring preferred video captioning state and visual properties.
CaptioningManager+CaptioningChangeListener
CaptioningManager+CaptionStyle
CaptionStylesEnumerates values returned by several types.
ContentChangeTypesEnumerates values returned by several types and taken as a parameter of the IViewParent.NotifySubtreeAccessibilityStateChanged, and ViewGroup.NotifySubtreeAccessibilityStateChanged members.
EventTypesEnumerates values returned by several types and taken as a parameter of several types.
IAccessibilityEventSourceThis interface is implemented by classes source of AccessibilityEvents.
MovementGranularityEnumerates values returned by several types.
NodeFocusEnumerates values returned by several types and taken as a parameter of several types.
RangeTypeEnumerates values returned by several types and taken as a parameter of the AccessibilityNodeInfo+RangeInfo.Obtain member.
SelectionModeEnumerates values returned by several types and taken as a parameter of the AccessibilityNodeInfo+CollectionInfo.Obtain member.