AccessibilityEventCompat
Helper for accessing features in AccessibilityEvent.
Types
Link copied to clipboard
Properties
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The node's content description changed.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its content validity returned by isContentInvalid.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: A drag in with accessibility enabled has ended.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: A drag in with accessibility enabled has ended.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: A drag has started while accessibility is enabled.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its ability to interact returned by isEnabled.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The source node changed its erroneous content's error message returned by getError.
Link copied to clipboard
Change type for TYPE_WINDOW_STATE_CHANGED event: The node has a pane title, and either just appeared or just was assigned a title when it had none before.
Link copied to clipboard
Change type for TYPE_WINDOW_STATE_CHANGED event: Can mean one of two slightly different things.
Link copied to clipboard
Change type for TYPE_WINDOW_STATE_CHANGED event: The node's pane title changed.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: state description of the node as returned by getStateDescription was changed.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: A node in the subtree rooted at the source node was added or removed.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The node's text changed.
Link copied to clipboard
Change type for TYPE_WINDOW_CONTENT_CHANGED event: The type of change is not defined.
Link copied to clipboard
Represents the event of an application making an announcement.
Link copied to clipboard
Represents the event of the assistant currently reading the users screen context.
Link copied to clipboard
Represents the event of ending gesture detection.
Link copied to clipboard
Represents the event of beginning gesture detection.
Link copied to clipboard
Represents the event of ending a touch exploration gesture.
Link copied to clipboard
Represents the event of starting a touch exploration gesture.
Link copied to clipboard
Represents the event of the user ending to touch the screen.
Link copied to clipboard
Represents the event of the user starting to touch the screen.
Link copied to clipboard
Represents the event of clearing accessibility focus.
Link copied to clipboard
Represents the event of gaining accessibility focus.
Link copied to clipboard
Represents the event of a context click on a View.
Link copied to clipboard
Represents the event of a hover enter over a View.
Link copied to clipboard
Represents the event of a hover exit over a View.
Link copied to clipboard
Represents the event of scrolling a view.
Link copied to clipboard
Represents the event of a scroll having completed and brought the target node on screen.
Link copied to clipboard
Represents the event of changing the selection in an EditText.
Link copied to clipboard
Represents the event of traversing the text of a view at a given movement granularity.
Link copied to clipboard
Represents the event of changing the content of a window.
Link copied to clipboard
Represents the event change in the windows shown on the screen.
Link copied to clipboard
Mask for AccessibilityEvent all types.
Functions
Link copied to clipboard
Appends an AccessibilityRecord to the end of event records.
Link copied to clipboard
Creates an AccessibilityRecordCompat from an AccessibilityEvent that can be used to manipulate the event properties defined in AccessibilityRecord.
Link copied to clipboard
Gets the performed action that triggered this event.
Link copied to clipboard
Gets the bit mask of change types signaled by an TYPE_WINDOW_CONTENT_CHANGED event.
Link copied to clipboard
Gets the movement granularity that was traversed.
Link copied to clipboard
Gets the record at a given index.
Link copied to clipboard
Gets the number of records contained in the event.
Link copied to clipboard
Whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the isAccessibilityTool property set to true.
Link copied to clipboard
open fun setAccessibilityDataSensitive(@NonNull event: AccessibilityEvent, accessibilityDataSensitive: Boolean)
Sets whether the event should only be delivered to an android.accessibilityservice.AccessibilityService with the isAccessibilityTool property set to true.
Link copied to clipboard
Sets the performed action that triggered this event.
Link copied to clipboard
Sets the bit mask of node tree changes signaled by an TYPE_WINDOW_CONTENT_CHANGED event.
Link copied to clipboard
Sets the movement granularity that was traversed.