Condividi tramite


AccessibilityManager.IAccessibilityStateChangeListener.OnAccessibilityStateChanged Method

Definition

Called when the accessibility enabled state changes.

[Android.Runtime.Register("onAccessibilityStateChanged", "(Z)V", "GetOnAccessibilityStateChanged_ZHandler:Android.Views.Accessibility.AccessibilityManager/IAccessibilityStateChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnAccessibilityStateChanged (bool enabled);
[<Android.Runtime.Register("onAccessibilityStateChanged", "(Z)V", "GetOnAccessibilityStateChanged_ZHandler:Android.Views.Accessibility.AccessibilityManager/IAccessibilityStateChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnAccessibilityStateChanged : bool -> unit

Parameters

enabled
Boolean

Whether accessibility is enabled.

Attributes

Remarks

Called when the accessibility enabled state changes.

Java documentation for android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener.onAccessibilityStateChanged(boolean).

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