AccessibilityManager.AddAccessibilityStateChangeListener Method
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.
Overloads
AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener, Handler) |
Registers an |
AddAccessibilityStateChangeListener(AccessibilityManager+IAccessibilityStateChangeListener) |
Registers an |
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
The listener.
- handler
- Handler
- Attributes
Remarks
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
The listener.
Returns
True if successfully registered.
- Attributes
Remarks
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.