| java.lang.Object | |
| ↳ | android.support.v4.view.accessibility.AccessibilityEventCompat |
Helper for accessing features in AccessibilityEvent
introduced after API level 4 in a backwards compatible fashion.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | TYPES_ALL_MASK | Mask for AccessibilityEvent all types. |
|||||||||
| int | TYPE_ANNOUNCEMENT | Represents the event of an application making an announcement. | |||||||||
| int | TYPE_GESTURE_DETECTION_END | Represents the event of ending gesture detection. | |||||||||
| int | TYPE_GESTURE_DETECTION_START | Represents the event of beginning gesture detection. | |||||||||
| int | TYPE_TOUCH_EXPLORATION_GESTURE_END | Represents the event of ending a touch exploration gesture. | |||||||||
| int | TYPE_TOUCH_EXPLORATION_GESTURE_START | Represents the event of starting a touch exploration gesture. | |||||||||
| int | TYPE_TOUCH_INTERACTION_END | Represents the event of the user ending to touch the screen. | |||||||||
| int | TYPE_TOUCH_INTERACTION_START | Represents the event of the user starting to touch the screen. | |||||||||
| int | TYPE_VIEW_ACCESSIBILITY_FOCUSED | Represents the event of gaining accessibility focus. | |||||||||
| int | TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED | Represents the event of clearing accessibility focus. | |||||||||
| int | TYPE_VIEW_HOVER_ENTER | Represents the event of a hover enter over a View. |
|||||||||
| int | TYPE_VIEW_HOVER_EXIT | Represents the event of a hover exit over a View. |
|||||||||
| int | TYPE_VIEW_SCROLLED | Represents the event of scrolling a view. | |||||||||
| int | TYPE_VIEW_TEXT_SELECTION_CHANGED | Represents the event of changing the selection in an EditText. |
|||||||||
| int | TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY | Represents the event of traversing the text of a view at a given movement granularity. | |||||||||
| int | TYPE_WINDOW_CONTENT_CHANGED | Represents the event of changing the content of a window. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Appends an
AccessibilityRecord to the end of
event records. | |||||||||||
Gets the record at a given index.
| |||||||||||
Gets the number of records contained in the event.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Mask for AccessibilityEvent all types.
TYPE_VIEW_CLICKEDTYPE_VIEW_LONG_CLICKEDTYPE_VIEW_SELECTEDTYPE_VIEW_FOCUSEDTYPE_VIEW_TEXT_CHANGEDTYPE_WINDOW_STATE_CHANGEDTYPE_NOTIFICATION_STATE_CHANGEDTYPE_VIEW_HOVER_ENTERTYPE_VIEW_HOVER_EXITTYPE_TOUCH_EXPLORATION_GESTURE_STARTTYPE_TOUCH_EXPLORATION_GESTURE_ENDTYPE_WINDOW_CONTENT_CHANGEDTYPE_VIEW_SCROLLEDTYPE_VIEW_TEXT_SELECTION_CHANGEDTYPE_ANNOUNCEMENTTYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITYTYPE_GESTURE_DETECTION_STARTTYPE_GESTURE_DETECTION_ENDTYPE_TOUCH_INTERACTION_STARTTYPE_TOUCH_INTERACTION_ENDRepresents the event of an application making an announcement.
Represents the event of ending gesture detection.
Represents the event of beginning gesture detection.
Represents the event of ending a touch exploration gesture.
Represents the event of starting a touch exploration gesture.
Represents the event of the user ending to touch the screen.
Represents the event of the user starting to touch the screen.
Represents the event of gaining accessibility focus.
Represents the event of clearing accessibility focus.
Represents the event of a hover enter over a View.
Represents the event of a hover exit over a View.
Represents the event of scrolling a view.
Represents the event of changing the selection in an EditText.
Represents the event of traversing the text of a view at a given movement granularity.
Represents the event of changing the content of a window.
Appends an AccessibilityRecord to the end of
event records.
| record | The record to append. |
|---|
| IllegalStateException | If called from an AccessibilityService. |
|---|
Gets the record at a given index.
| index | The index. |
|---|
Gets the number of records contained in the event.