AccessibilityServiceInfo.Flags Property

Definition

This field represents a set of flags used for configuring an AccessibilityService.

[Android.Runtime.Register("flags")]
public Android.AccessibilityServices.AccessibilityServiceFlags Flags { get; set; }
[<Android.Runtime.Register("flags")>]
member this.Flags : Android.AccessibilityServices.AccessibilityServiceFlags with get, set

Property Value

Attributes

Remarks

This field represents a set of flags used for configuring an AccessibilityService.

<strong>Can be dynamically set at runtime.</strong>

<strong>Note:</strong> Accessibility services with targetSdkVersion greater than Build.VERSION_CODES#Q API 29 cannot dynamically set the #FLAG_REQUEST_ACCESSIBILITY_BUTTON at runtime. It must be specified in the accessibility service metadata file.

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.flags.

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

See also