Partager via


AccessibilityService.ErrorTakeScreenshotNoAccessibilityAccess Field

Definition

Caution

This constant will be removed in the future version. Use Android.Accessibilityservice.AccessibilityService.TakeScreenshotError enum directly instead of this field.

The status of taking screenshot is failure and the reason is no accessibility access.

[Android.Runtime.Register("ERROR_TAKE_SCREENSHOT_NO_ACCESSIBILITY_ACCESS", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Accessibilityservice.AccessibilityService.TakeScreenshotError enum directly instead of this field.", true)]
public const Android.Accessibilityservice.AccessibilityService.TakeScreenshotError ErrorTakeScreenshotNoAccessibilityAccess = 2;
[<Android.Runtime.Register("ERROR_TAKE_SCREENSHOT_NO_ACCESSIBILITY_ACCESS", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Accessibilityservice.AccessibilityService.TakeScreenshotError enum directly instead of this field.", true)>]
val mutable ErrorTakeScreenshotNoAccessibilityAccess : Android.Accessibilityservice.AccessibilityService.TakeScreenshotError

Field Value

Value = 2
Attributes

Remarks

The status of taking screenshot is failure and the reason is no accessibility access.

Java documentation for android.accessibilityservice.AccessibilityService.ERROR_TAKE_SCREENSHOT_NO_ACCESSIBILITY_ACCESS.

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