Observe-and-act backend: the god tier only (AccessibilityService + MediaProjection). Every call probes the service first (E2) and raises MobileAutomationException.offline when it is gone.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dumpHierarchy(
) → Future< String> - Dumps the raw accessibility hierarchy XML (uiautomator shape).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
screenshot(
) → Future< MobileScreenshot> - Captures the screen as PNG (MediaProjection).
-
swipe(
{required int fromX, required int fromY, required int toX, required int toY, int durationMs}) → Future< void> - Dispatches a swipe gesture.
-
tap(
MobileTapTarget target) → Future< void> -
Dispatches a tap at
target(element center or raw point). -
text(
{String? elementId, required String text, bool clear}) → Future< void> -
Enters
textinto the element withelementId(or the focused node). Whenclearis set the previous value is replaced. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited