AccessibilityServiceInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class describes an AccessibilityService
.
[Android.Runtime.Register("android/accessibilityservice/AccessibilityServiceInfo", DoNotGenerateAcw=true)]
public class AccessibilityServiceInfo : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/accessibilityservice/AccessibilityServiceInfo", DoNotGenerateAcw=true)>]
type AccessibilityServiceInfo = class
inherit Object
interface IParcelable
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Inheritance
- Attributes
- Implements
Remarks
This class describes an AccessibilityService
. The system notifies an AccessibilityService
for android.view.accessibility.AccessibilityEvent
s according to the information encapsulated in this class.
<div class="special reference"> <h3>Developer Guides</h3>
For more information about creating AccessibilityServices, read the Accessibility developer guide.
</div>
Java documentation for android.accessibilityservice.AccessibilityServiceInfo
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Constructors
AccessibilityServiceInfo() |
Creates a new instance. |
AccessibilityServiceInfo(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
CapabilityCanControlMagnification |
Obsolete.
Capability: This accessibility service can control display magnification. |
CapabilityCanPerformGestures |
Obsolete.
Capability: This accessibility service can perform gestures. |
CapabilityCanRequestEnhancedWebAccessibility |
This member is deprecated. |
CapabilityCanRequestFilterKeyEvents |
Obsolete.
Capability: This accessibility service can request to filter the key event stream. |
CapabilityCanRequestFingerprintGestures |
Obsolete.
Capability: This accessibility service can capture gestures from the fingerprint sensor |
CapabilityCanRequestTouchExploration |
Obsolete.
Capability: This accessibility service can request touch exploration mode in which touched items are spoken aloud and the UI can be explored via gestures. |
CapabilityCanRetrieveWindowContent |
Obsolete.
Capability: This accessibility service can retrieve the active window content. |
CapabilityCanTakeScreenshot |
Obsolete.
Capability: This accessibility service can take screenshot. |
Default |
Obsolete.
If an |
FlagEnableAccessibilityVolume |
Obsolete.
This flag requests that all audio tracks system-wide with
|
FlagIncludeNotImportantViews |
Obsolete.
If this flag is set the system will regard views that are not important for accessibility in addition to the ones that are important for accessibility. |
FlagInputMethodEditor |
Obsolete.
This flag makes the AccessibilityService an input method editor with a subset of input
method editor capabilities: get the |
FlagReportViewIds |
Obsolete.
This flag requests that the |
FlagRequest2FingerPassthrough |
Obsolete.
This flag requests that when when |
FlagRequestAccessibilityButton |
Obsolete.
This flag indicates to the system that the accessibility service requests that an accessibility button be shown within the system's navigation area, if available. |
FlagRequestEnhancedWebAccessibility |
This member is deprecated. |
FlagRequestFilterKeyEvents |
Obsolete.
This flag requests from the system to filter key events. |
FlagRequestFingerprintGestures |
Obsolete.
This flag requests that all fingerprint gestures be sent to the accessibility service. |
FlagRequestMultiFingerGestures |
Obsolete.
This flag requests that when when |
FlagRequestShortcutWarningDialogSpokenFeedback |
Obsolete.
This flag requests that accessibility shortcut warning dialog has spoken feedback when dialog is shown. |
FlagRequestTouchExplorationMode |
Obsolete.
This flag requests that the system gets into touch exploration mode. |
FlagRetrieveInteractiveWindows |
Obsolete.
This flag indicates to the system that the accessibility service wants to access content of all interactive windows. |
FlagSendMotionEvents |
Obsolete.
This flag requests that when when |
FlagServiceHandlesDoubleTap |
Obsolete.
This flag requests that when |
Properties
CanRetrieveWindowContent |
Obsolete.
Whether this service can retrieve the current window's content. |
Capabilities |
Returns the bit mask of capabilities this accessibility service has such as being able to retrieve the active window content, etc. |
Class |
Returns the runtime class of this |
Creator | |
Description |
Obsolete.
Gets the non-localized description of the accessibility service. |
EventTypes |
The event types an |
FeedbackType |
The feedback type an AccessibilityService provides. |
Flags |
This field represents a set of flags used for configuring an
|
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
Id |
The accessibility service id. |
InteractiveUiTimeoutMillis |
Get the recommended timeout for interactive controls. -or- Set the recommended time that interactive controls need to remain on the screen to support the user. |
IsAccessibilityTool |
Indicates if the service is used to assist users with disabilities. |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
MotionEventSources |
Returns the bit mask of |
NonInteractiveUiTimeoutMillis |
Get the recommended timeout for non-interactive controls. -or- Set the recommended time that non-interactive controls need to remain on the screen to support the user. |
NotificationTimeout |
The timeout, in milliseconds, after the most recent event of a given type before an
|
PackageNames |
The package names an |
PeerReference | (Inherited from Object) |
ResolveInfo |
The service |
SettingsActivityName |
The settings activity name. |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
TileServiceName |
Gets the name of |
Methods
CapabilityToString(AccessibilityServiceCapabilities) |
Returns the string representation of a capability. |
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
DescribeContents() |
To be added |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
FeedbackTypeToString(FeedbackFlags) |
Returns the string representation of a feedback type. |
FlagToString(AccessibilityServiceFlags) |
Returns the string representation of a flag. |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
LoadDescription(PackageManager) |
The localized description of the accessibility service. |
LoadIntro(PackageManager) |
The localized intro of the accessibility service. |
LoadIntroFormatted(PackageManager) |
The localized intro of the accessibility service. |
LoadSummary(PackageManager) |
The localized summary of the accessibility service. |
LoadSummaryFormatted(PackageManager) |
The localized summary of the accessibility service. |
Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnregisterFromRuntime() | (Inherited from Object) |
Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
WriteToParcel(Parcel, ParcelableWriteFlags) |
Flatten this object in to a Parcel. |
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |