语言

AccessibilityService.ErrorTakeScreenshotInvalidWindow 字段

定义

注意

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

拍摄屏幕截图的状态为失败,原因为辅助功能窗口 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

字段值

Value = 5
特性

注解

拍摄屏幕截图的状态为失败,原因为辅助功能窗口 ID 无效。

Java文档android.accessibilityservice.AccessibilityService.ERROR_TAKE_SCREENSHOT_INVALID_WINDOW。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于