Freigeben über


AccessibilityServiceInfo.FlagRequestAccessibilityButton Field

Definition

Caution

This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.

This flag indicates to the system that the accessibility service requests that an accessibility button be shown within the system's navigation area, if available.

[Android.Runtime.Register("FLAG_REQUEST_ACCESSIBILITY_BUTTON", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.", true)]
public const Android.AccessibilityServices.AccessibilityServiceFlags FlagRequestAccessibilityButton = 256;
[<Android.Runtime.Register("FLAG_REQUEST_ACCESSIBILITY_BUTTON", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.", true)>]
val mutable FlagRequestAccessibilityButton : Android.AccessibilityServices.AccessibilityServiceFlags

Field Value

Value = 256

Implements

Attributes

Remarks

This flag indicates to the system that the accessibility service requests that an accessibility button be shown within the system's navigation area, if available.

<strong>Note:</strong> For accessibility services targeting APIs greater than Build.VERSION_CODES#Q API 29, this flag must be specified in the accessibility service metadata file. Otherwise, it will be ignored.

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.FLAG_REQUEST_ACCESSIBILITY_BUTTON.

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