Android.App.Instrumentation.UiAutomation Property
Gets the Android.App.UiAutomation instance.

Syntax

[get: Android.Runtime.Register("getUiAutomation", "()Landroid/app/UiAutomation;", "GetGetUiAutomationHandler")]
public virtual UiAutomation UiAutomation { get; }

See Also

UiAutomation

Value

Documentation for this section has not yet been entered.

Remarks

Gets the Android.App.UiAutomation instance.

Note: The APIs exposed via the returned Android.App.UiAutomation work across application boundaries while the APIs exposed by the instrumentation do not. For example, Instrumentation.SendPointerSync(Android.Views.MotionEvent) will not allow you to inject the event in an app different from the instrumentation target, while UiAutomation.InjectInputEvent(Android.Views.InputEvent, System.Boolean) will work regardless of the current application.

A typical test case should be using either the Android.App.UiAutomation or Android.App.Instrumentation APIs. Using both APIs at the same time is not a mistake by itself but a client has to be aware of the APIs limitations.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18