Share via


AccessibilityService.ErrorTakeScreenshotInvalidWindow 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 invalid accessibility window Id.

[Android.Runtime.Register("ERROR_TAKE_SCREENSHOT_INVALID_WINDOW", ApiSince=34)]
[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 ErrorTakeScreenshotInvalidWindow = 5;
[<Android.Runtime.Register("ERROR_TAKE_SCREENSHOT_INVALID_WINDOW", ApiSince=34)>]
[<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 ErrorTakeScreenshotInvalidWindow : Android.Accessibilityservice.AccessibilityService.TakeScreenshotError

Field Value

Value = 5
Attributes

Remarks

The status of taking screenshot is failure and the reason is invalid accessibility window Id.

Java documentation for android.accessibilityservice.AccessibilityService.ERROR_TAKE_SCREENSHOT_INVALID_WINDOW.

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