Partager via


AccessibilityManager Class

Definition

System level service that serves as an event dispatch for AccessibilityEvents, and provides facilities for querying the accessibility state of the system.

[Android.Runtime.Register("android/view/accessibility/AccessibilityManager", DoNotGenerateAcw=true)]
public sealed class AccessibilityManager : Java.Lang.Object
[<Android.Runtime.Register("android/view/accessibility/AccessibilityManager", DoNotGenerateAcw=true)>]
type AccessibilityManager = class
    inherit Object
Inheritance
AccessibilityManager
Attributes

Remarks

System level service that serves as an event dispatch for AccessibilityEvents, and provides facilities for querying the accessibility state of the system. Accessibility events are generated when something notable happens in the user interface, for example an android.app.Activity starts, the focus or selection of a android.view.View changes etc. Parties interested in handling accessibility events implement and register an accessibility service which extends android.accessibilityservice.AccessibilityService.

Java documentation for android.view.accessibility.AccessibilityManager.

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.

Fields

FlagContentControls
Obsolete.

Use this flag to indicate the content of a UI that times out contains interactive controls.

FlagContentIcons
Obsolete.

Use this flag to indicate the content of a UI that times out contains icons.

FlagContentText
Obsolete.

Use this flag to indicate the content of a UI that times out contains text.

Properties

AccessibilityFocusColor

Gets the color of the focus rectangle.

AccessibilityFocusStrokeWidth

Gets the strokeWidth of the focus rectangle.

AccessibilityServiceList
Obsolete.

Returns the ServiceInfos of the installed accessibility services.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
InstalledAccessibilityServiceList

Returns the AccessibilityServiceInfos of the installed accessibility services.

IsAccessibilityButtonSupported

Determines if the accessibility button within the system navigation area is supported.

IsAudioDescriptionRequested

Determines if users want to select sound track with audio description by default.

IsEnabled

Returns if the accessibility in the system is enabled.

IsRequestFromAccessibilityTool

Whether the current accessibility request comes from an AccessibilityService with the AccessibilityServiceInfo#isAccessibilityTool property set to true.

IsTouchExplorationEnabled

Returns if the touch exploration in the system is enabled.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

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

(Inherited from Object)
ThresholdType

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

(Inherited from Object)

Methods

AddAccessibilityRequestPreparer(AccessibilityRequestPreparer)

Registers a AccessibilityRequestPreparer.

AddAccessibilityServicesStateChangeListener(AccessibilityManager+IAccessibilityServicesStateChangeListener)
AddAccessibilityServicesStateChangeListener(IExecutor, AccessibilityManager+IAccessibilityServicesStateChangeListener)
AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener, Handler)

Registers an AccessibilityStateChangeListener for changes in the global accessibility state of the system.

AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener)

Registers an AccessibilityStateChangeListener for changes in the global accessibility state of the system.

AddAudioDescriptionRequestedChangeListener(IExecutor, AccessibilityManager+IAudioDescriptionRequestedChangeListener)
AddTouchExplorationStateChangeListener(AccessibilityManager+ITouchExplorationStateChangeListener, Handler)

Registers a TouchExplorationStateChangeListener for changes in the global touch exploration state of the system.

AddTouchExplorationStateChangeListener(AccessibilityManager+ITouchExplorationStateChangeListener)

Registers a TouchExplorationStateChangeListener for changes in the global touch exploration state of the system.

Clone()

Creates and returns a copy of this object.

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

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
FromContext(Context)
GetEnabledAccessibilityServiceList(FeedbackFlags)

Returns the AccessibilityServiceInfos of the enabled accessibility services for a given feedback type.

GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetRecommendedTimeoutMillis(Int32, ContentMode)

Get the recommended timeout for changes to the UI needed by this user.

Interrupt()

Requests feedback interruption from all accessibility services.

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

Unregisters a AccessibilityRequestPreparer.

RemoveAccessibilityServicesStateChangeListener(AccessibilityManager+IAccessibilityServicesStateChangeListener)
RemoveAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener)

Unregisters an AccessibilityManager AccessibilityStateChangeListener .

RemoveAudioDescriptionRequestedChangeListener(AccessibilityManager+IAudioDescriptionRequestedChangeListener)
RemoveTouchExplorationStateChangeListener(AccessibilityManager+ITouchExplorationStateChangeListener)

Unregisters a TouchExplorationStateChangeListener.

SendAccessibilityEvent(AccessibilityEvent)

Sends an AccessibilityEvent.

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)

Events

AccessibilityServicesStateChange
AccessibilityStateChange
TouchExplorationStateChange

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