AccessibilityServiceInfo Class

Definition

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
AccessibilityServiceInfo
Attributes
Implements

Remarks

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
Obsolete.

Capability: This accessibility service can request enhanced web accessibility enhancements.

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 AccessibilityService is the default for a given type.

FlagEnableAccessibilityVolume
Obsolete.

This flag requests that all audio tracks system-wide with android.media.AudioAttributes#USAGE_ASSISTANCE_ACCESSIBILITY be controlled by the android.media.AudioManager#STREAM_ACCESSIBILITY volume.

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.

FlagReportViewIds
Obsolete.

This flag requests that the AccessibilityNodeInfos obtained by an AccessibilityService contain the id of the source view.

FlagRequest2FingerPassthrough
Obsolete.

This flag requests that when when #FLAG_REQUEST_MULTI_FINGER_GESTURES is enabled, two-finger passthrough gestures are re-enabled.

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
Obsolete.

This flag requests from the system to enable web accessibility enhancing extensions.

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 #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is enabled, multi-finger gestures are also enabled.

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 #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is enabled, a service will receive the motion events for each successfully-detected gesture.

FlagServiceHandlesDoubleTap
Obsolete.

This flag requests that when #FLAG_REQUEST_TOUCH_EXPLORATION_MODE is enabled, double tap and double tap and hold gestures are dispatched to the service rather than being handled by the framework.

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 Object.

(Inherited from Object)
Creator
Description
Obsolete.

Gets the non-localized description of the accessibility service.

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.

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
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 AccessibilityService is notified.

PackageNames

The package names an AccessibilityService is interested in.

PeerReference (Inherited from Object)
ResolveInfo

The service ResolveInfo.

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.

Methods

CapabilityToString(AccessibilityServiceCapabilities)

Returns the string representation of a capability.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

[TODO: @inheritDoc]

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.

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 another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until another thread invokes the java.lang.Object#notify() method or the java.lang.Object#notifyAll() method for this object.

(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)

Applies to