AccessibilityServiceInfo AccessibilityServiceInfo Class

Definition

This class describes an AccessibilityService.

[Android.Runtime.Register("android/accessibilityservice/AccessibilityServiceInfo", ApiSince=4, DoNotGenerateAcw=true)]
public class AccessibilityServiceInfo : Java.Lang.Object, Android.OS.IParcelable, IDisposable
type AccessibilityServiceInfo = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
Inheritance
AccessibilityServiceInfoAccessibilityServiceInfo
Attributes
Implements

Remarks

Android platform documentation

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

Creates a new instance.

AccessibilityServiceInfo(IntPtr, JniHandleOwnership) AccessibilityServiceInfo(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

CapabilityCanControlMagnification CapabilityCanControlMagnification
CapabilityCanPerformGestures CapabilityCanPerformGestures
CapabilityCanRequestEnhancedWebAccessibility CapabilityCanRequestEnhancedWebAccessibility

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

CapabilityCanRequestFilterKeyEvents CapabilityCanRequestFilterKeyEvents

Capability: This accessibility service can request to filter the key event stream.

CapabilityCanRequestFingerprintGestures CapabilityCanRequestFingerprintGestures
CapabilityCanRequestTouchExploration CapabilityCanRequestTouchExploration

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 CapabilityCanRetrieveWindowContent

Capability: This accessibility service can retrieve the active window content.

Default Default

If an AccessibilityService is the default for a given type.

FlagEnableAccessibilityVolume FlagEnableAccessibilityVolume
FlagIncludeNotImportantViews FlagIncludeNotImportantViews

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 FlagReportViewIds

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

FlagRequestAccessibilityButton FlagRequestAccessibilityButton
FlagRequestEnhancedWebAccessibility FlagRequestEnhancedWebAccessibility

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

FlagRequestFilterKeyEvents FlagRequestFilterKeyEvents

This flag requests from the system to filter key events.

FlagRequestFingerprintGestures FlagRequestFingerprintGestures
FlagRequestTouchExplorationMode FlagRequestTouchExplorationMode

This flag requests that the system gets into touch exploration mode.

FlagRetrieveInteractiveWindows FlagRetrieveInteractiveWindows

This flag indicates to the system that the accessibility service wants to access content of all interactive windows.

Properties

CanRetrieveWindowContent CanRetrieveWindowContent

Whether this service can retrieve the current window's content.

Capabilities Capabilities

Returns the bit mask of capabilities this accessibility service has such as being able to retrieve the active window content, etc.

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Creator Creator
Description Description

Gets the non-localized description of the accessibility service.

EventTypes EventTypes

The event types an AccessibilityService is interested in.

FeedbackType FeedbackType

The feedback type an AccessibilityService provides.

Flags Flags

This field represents a set of flags used for configuring an AccessibilityService.

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
Id Id

The accessibility service id.

IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
NotificationTimeout NotificationTimeout

The timeout after the most recent event of a given type before an AccessibilityService is notified.

PackageNames PackageNames

The package names an AccessibilityService is interested in.

PeerReference PeerReference Inherited from Object
ResolveInfo ResolveInfo

The service ResolveInfo.

SettingsActivityName SettingsActivityName

The settings activity name.

ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

CapabilityToString(AccessibilityServiceCapabilities) CapabilityToString(AccessibilityServiceCapabilities)

Returns the string representation of a capability.

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
DescribeContents() DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FeedbackTypeToString(FeedbackFlags) FeedbackTypeToString(FeedbackFlags)
FlagToString(AccessibilityServiceFlags) FlagToString(AccessibilityServiceFlags)

Returns the string representation of a flag.

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
LoadDescription(PackageManager) LoadDescription(PackageManager)

The localized description of the accessibility service.

LoadSummary(PackageManager) LoadSummary(PackageManager)
LoadSummaryFormatted(PackageManager) LoadSummaryFormatted(PackageManager)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags) WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to