Share via


AccessibilityManager.AddAccessibilityStateChangeListener Method

Definition

Overloads

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.

AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener, Handler)

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

[Android.Runtime.Register("addAccessibilityStateChangeListener", "(Landroid/view/accessibility/AccessibilityManager$AccessibilityStateChangeListener;Landroid/os/Handler;)V", "", ApiSince=26)]
public void AddAccessibilityStateChangeListener (Android.Views.Accessibility.AccessibilityManager.IAccessibilityStateChangeListener listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("addAccessibilityStateChangeListener", "(Landroid/view/accessibility/AccessibilityManager$AccessibilityStateChangeListener;Landroid/os/Handler;)V", "", ApiSince=26)>]
member this.AddAccessibilityStateChangeListener : Android.Views.Accessibility.AccessibilityManager.IAccessibilityStateChangeListener * Android.OS.Handler -> unit

Parameters

handler
Handler
Attributes

Remarks

Java documentation for android.view.accessibility.AccessibilityManager.addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityStateChangeListener).

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.

Applies to

AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener)

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

[Android.Runtime.Register("addAccessibilityStateChangeListener", "(Landroid/view/accessibility/AccessibilityManager$AccessibilityStateChangeListener;)Z", "")]
public bool AddAccessibilityStateChangeListener (Android.Views.Accessibility.AccessibilityManager.IAccessibilityStateChangeListener listener);
[<Android.Runtime.Register("addAccessibilityStateChangeListener", "(Landroid/view/accessibility/AccessibilityManager$AccessibilityStateChangeListener;)Z", "")>]
member this.AddAccessibilityStateChangeListener : Android.Views.Accessibility.AccessibilityManager.IAccessibilityStateChangeListener -> bool

Parameters

Returns

True if successfully registered.

Attributes

Remarks

Java documentation for android.view.accessibility.AccessibilityManager.addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityStateChangeListener).

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.

Applies to