UiAutomation.FlagDontSuppressAccessibilityServices 字段

定义

注意

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

默认情况下,UiAutomation 会禁止辅助功能服务。

[Android.Runtime.Register("FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.UiAutomationFlags enum directly instead of this field.", true)]
public const Android.App.UiAutomationFlags FlagDontSuppressAccessibilityServices = 1;
[<Android.Runtime.Register("FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICES", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.UiAutomationFlags enum directly instead of this field.", true)>]
val mutable FlagDontSuppressAccessibilityServices : Android.App.UiAutomationFlags

字段值

Value = 1
属性

注解

默认情况下,UiAutomation 会禁止辅助功能服务。 此标志指定现有辅助功能服务应继续运行,并且可能会启动新的辅助功能服务。 从 Instrumentation#getUiAutomation(int)中获取 UiAutomation 时设置此标志。

适用于 . 的 android.app.UiAutomation.FLAG_DONT_SUPPRESS_ACCESSIBILITY_SERVICESJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于