Freigeben über


AccessibilityServiceInfo.FlagReportViewIds Field

Definition

Caution

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

This flag requests that the AccessibilityNodeInfos obtained by an AccessibilityService contain the id of the source view.

[Android.Runtime.Register("FLAG_REPORT_VIEW_IDS")]
[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 FlagReportViewIds = 16;
[<Android.Runtime.Register("FLAG_REPORT_VIEW_IDS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.AccessibilityServices.AccessibilityServiceFlags enum directly instead of this field.", true)>]
val mutable FlagReportViewIds : Android.AccessibilityServices.AccessibilityServiceFlags

Field Value

Value = 16

Implements

Attributes

Remarks

This flag requests that the AccessibilityNodeInfos obtained by an AccessibilityService contain the id of the source view. The source view id will be a fully qualified resource name of the form "package:id/name", for example "foo.bar:id/my_list", and it is useful for UI test automation. This flag is not set by default.

Java documentation for android.accessibilityservice.AccessibilityServiceInfo.FLAG_REPORT_VIEW_IDS.

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