public class AccEvent extends Item
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT
The accessibility event, see Android official document of [AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html) for a list of event types.
|
static java.lang.String |
EVENT_TIME
The time in which the event was sent.
|
static java.lang.String |
EVENT_TYPE
The type of the event, see Android official document of [AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html) for a list of event types.
|
static java.lang.String |
PACKAGE_NAME
The package name of the current app (could be null).
|
static java.lang.String |
ROOT_NODE
The root view of current event, which is an instance of AccessibilityNodeInfo.
|
static java.lang.String |
SOURCE_NODE
The source node of the UI action, only available when using `asUIActions` provider.
|
static java.lang.String |
TEXT
The user-typed text.
|
EOS, TIME_CREATED
Modifier and Type | Method and Description |
---|---|
static PStreamProvider |
asTextEntries()
Provide a live stream of text entry events.
|
static PStreamProvider |
asUIActions()
Provide a live stream of UI action events.
|
static PStreamProvider |
asUpdates()
Provide a live stream of all accessibility items.
|
static PStreamProvider |
asWindowChanges()
Provide a live stream of window changing accessibility items.
|
containsField, equals, excludeFields, getAsBoolean, getAsDouble, getAsFloat, getAsInteger, getAsLong, getAsString, getValueByField, includeFields, isEndOfStream, setFieldValue, toDebugString, toJson, toMap, toString
@PSItemField(type=android.view.accessibility.AccessibilityEvent.class) public static final java.lang.String EVENT
@PSItemField(type=java.lang.Long.class) public static final java.lang.String EVENT_TIME
@PSItemField(type=android.view.accessibility.AccessibilityNodeInfo.class) public static final java.lang.String ROOT_NODE
@PSItemField(type=java.lang.Integer.class) public static final java.lang.String EVENT_TYPE
@PSItemField(type=java.lang.String.class) public static final java.lang.String PACKAGE_NAME
@PSItemField(type=android.view.accessibility.AccessibilityNodeInfo.class) public static final java.lang.String SOURCE_NODE
@PSItemField(type=java.lang.String.class) public static final java.lang.String TEXT
public static PStreamProvider asUpdates()
public static PStreamProvider asWindowChanges()
public static PStreamProvider asUIActions()
public static PStreamProvider asTextEntries()