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_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_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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Mask for AccessibilityEvent
all types.
TYPE_VIEW_CLICKED
TYPE_VIEW_LONG_CLICKED
TYPE_VIEW_SELECTED
TYPE_VIEW_FOCUSED
TYPE_VIEW_TEXT_CHANGED
TYPE_WINDOW_STATE_CHANGED
TYPE_NOTIFICATION_STATE_CHANGED
TYPE_VIEW_HOVER_ENTER
TYPE_VIEW_HOVER_EXIT
TYPE_TOUCH_EXPLORATION_GESTURE_START
TYPE_TOUCH_EXPLORATION_GESTURE_END
TYPE_WINDOW_CONTENT_CHANGED
TYPE_VIEW_SCROLLED
TYPE_VIEW_TEXT_SELECTION_CHANGED
TYPE_ANNOUNCEMENT
TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY
Represents the event of an application making an announcement.
Represents the event of ending a touch exploration gesture.
Represents the event of starting a touch exploration gesture.
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.