UiAutomation.FlagDontUseAccessibility 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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_USE_ACCESSIBILITY", ApiSince=31)]
[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 FlagDontUseAccessibility = 2;
[<Android.Runtime.Register("FLAG_DONT_USE_ACCESSIBILITY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.UiAutomationFlags enum directly instead of this field.", true)>]
val mutable FlagDontUseAccessibility : Android.App.UiAutomationFlags
字段值
Value = 2- 属性
注解
默认情况下,UiAutomation 使用辅助功能子系统。 此标志提供了一个选项,用于消除对不需要与用户界面交互的测试的辅助功能子系统的开销。 设置此标志将禁用依赖于辅助功能的方法。 从 Instrumentation#getUiAutomation(int)
中获取 UiAutomation 时设置此标志。
适用于 . 的 android.app.UiAutomation.FLAG_DONT_USE_ACCESSIBILITY
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。