UiAutomation.FlagDontUseAccessibility Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.App.UiAutomationFlags enum directly instead of this field.
UiAutomation uses the accessibility subsystem by default.
[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
Field Value
Value = 2- Attributes
Remarks
UiAutomation uses the accessibility subsystem by default. This flag provides an option to eliminate the overhead of engaging the accessibility subsystem for tests that do not need to interact with the user interface. Setting this flag disables methods that rely on accessibility. This flag is set when obtaining the UiAutomation from Instrumentation#getUiAutomation(int)
.
Java documentation for android.app.UiAutomation.FLAG_DONT_USE_ACCESSIBILITY
.
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.