java.lang.Object | |
↳ | android.accessibilityservice.AccessibilityServiceInfo |
This class describes an AccessibilityService
. The system
notifies an AccessibilityService
for
AccessibilityEvent
s
according to the information encapsulated in this class.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<AccessibilityServiceInfo> | CREATOR | ||||||||||
int | DEFAULT | If an AccessibilityService is the default for a given type. |
|||||||||
int | FEEDBACK_AUDIBLE | Denotes audible (not spoken) feedback. | |||||||||
int | FEEDBACK_GENERIC | Denotes generic feedback. | |||||||||
int | FEEDBACK_HAPTIC | Denotes haptic feedback. | |||||||||
int | FEEDBACK_SPOKEN | Denotes spoken feedback. | |||||||||
int | FEEDBACK_VISUAL | Denotes visual feedback. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
eventTypes | The event types an AccessibilityService is interested in. |
||||||||||
feedbackType | The feedback type an AccessibilityService provides. |
||||||||||
flags | This field represents a set of flags used for configuring an
AccessibilityService . |
||||||||||
notificationTimeout | The timeout after the most recent event of a given type before an
AccessibilityService is notified. |
||||||||||
packageNames | The package names an AccessibilityService is interested in. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
If an AccessibilityService
is the default for a given type.
Default service is invoked only if no package specific one exists. In case of
more than one package specific service only the earlier registered is notified.
Denotes audible (not spoken) feedback.
Denotes generic feedback.
Denotes haptic feedback.
Denotes spoken feedback.
Denotes visual feedback.
This field represents a set of flags used for configuring an
AccessibilityService
.
The timeout after the most recent event of a given type before an
AccessibilityService
is notified.
Note: The event notification timeout is useful to avoid propagating events to the client too frequently since this is accomplished via an expensive interprocess call. One can think of the timeout as a criteria to determine when event generation has settled down
The package names an AccessibilityService
is interested in. Setting
to null is equivalent to all packages.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Flatten this object in to a Parcel.
parcel | The Parcel in which the object should be written. |
---|---|
flagz | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|