AccessibilityButtonController.IsAccessibilityButtonAvailable Property

Definition

Retrieves whether the accessibility button in the system's navigation area is available to the calling service.

public bool IsAccessibilityButtonAvailable { [Android.Runtime.Register("isAccessibilityButtonAvailable", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isAccessibilityButtonAvailable", "()Z", "", ApiSince=26)>]
member this.IsAccessibilityButtonAvailable : bool

Property Value

true if the accessibility button in the system's navigation area is available to the calling service, false otherwise

Attributes

Remarks

Retrieves whether the accessibility button in the system's navigation area is available to the calling service.

<strong>Note:</strong> If the service is not yet connected (e.g. AccessibilityService#onServiceConnected() has not yet been called) or the service has been disconnected, this method will have no effect and return false.

Java documentation for android.accessibilityservice.AccessibilityButtonController.isAccessibilityButtonAvailable().

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