Android 12 Developer Preview is here! Try it out, and give us your feedback!

AccessibilityEventCompat

class AccessibilityEventCompat
kotlin.Any
   ↳ androidx.core.view.accessibility.AccessibilityEventCompat

Helper for accessing features in AccessibilityEvent.

Summary

Constants
static Int

Change type for TYPE_WINDOW_CONTENT_CHANGED event: The node's content description changed.

static Int

Change type for AccessibilityEvent#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.

static Int

Change type for AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED event: Can mean one of two slightly different things.

static Int

Change type for AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED event: The node's pane title changed.

static Int

Change type for AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED event: state description of the node as returned by AccessibilityNodeInfo#getStateDescription was changed.

static Int

Change type for TYPE_WINDOW_CONTENT_CHANGED event: A node in the subtree rooted at the source node was added or removed.

static Int

Change type for TYPE_WINDOW_CONTENT_CHANGED event: The node's text changed.

static Int

Change type for TYPE_WINDOW_CONTENT_CHANGED event: The type of change is not defined.

static Int

Mask for AccessibilityEvent all types.

static Int

Represents the event of an application making an announcement.

static Int

Represents the event of the assistant currently reading the users screen context.

static Int

Represents the event of ending gesture detection.

static Int

Represents the event of beginning gesture detection.

static Int

Represents the event of ending a touch exploration gesture.

static Int

Represents the event of starting a touch exploration gesture.

static Int

Represents the event of the user ending to touch the screen.

static Int

Represents the event of the user starting to touch the screen.

static Int

Represents the event of gaining accessibility focus.

static Int

Represents the event of clearing accessibility focus.

static Int

Represents the event of a context click on a android.view.View.

static Int

Represents the event of a hover enter over a android.view.View.

static Int

Represents the event of a hover exit over a android.view.View.

static Int

Represents the event of scrolling a view.

static Int

Represents the event of changing the selection in an android.widget.EditText.

static Int

Represents the event of traversing the text of a view at a given movement granularity.

static Int

Represents the event change in the windows shown on the screen.

static Int

Represents the event of changing the content of a window.

Public methods
static Unit

Appends an android.view.accessibility.AccessibilityRecord to the end of event records.

static AccessibilityRecordCompat!

Creates an AccessibilityRecordCompat from an AccessibilityEvent that can be used to manipulate the event properties defined in android.view.accessibility.AccessibilityRecord.

static Int

Gets the performed action that triggered this event.

static Int

Gets the bit mask of change types signaled by an TYPE_WINDOW_CONTENT_CHANGED event.

static Int

Gets the movement granularity that was traversed.

static AccessibilityRecordCompat!