Udostępnij za pośrednictwem


AccessibilityService.AccessibilityButtonController Property

Definition

Returns the controller for the accessibility button within the system's navigation area.

public Android.AccessibilityServices.AccessibilityButtonController AccessibilityButtonController { [Android.Runtime.Register("getAccessibilityButtonController", "()Landroid/accessibilityservice/AccessibilityButtonController;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getAccessibilityButtonController", "()Landroid/accessibilityservice/AccessibilityButtonController;", "", ApiSince=26)>]
member this.AccessibilityButtonController : Android.AccessibilityServices.AccessibilityButtonController

Property Value

the accessibility button controller for this AccessibilityService

Attributes

Remarks

Returns the controller for the accessibility button within the system's navigation area. This instance may be used to query the accessibility button's state and register listeners for interactions with and state changes for the accessibility button when AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON is set.

<strong>Note:</strong> Not all devices are capable of displaying the accessibility button within a navigation area, and as such, use of this class should be considered only as an optional feature or shortcut on supported device implementations.

Java documentation for android.accessibilityservice.AccessibilityService.getAccessibilityButtonController().

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