EmulatorTouches class

Real touches through an Android emulator's own virtual touchscreen, which Android's show_touches draws everywhere: in the app, over permission dialogs and the shade, and in screen recordings.

Constructors

EmulatorTouches(EmulatorControl control)

Properties

control → EmulatorControl
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
longPress(int x, int y, int durationMs) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pinch(int cx, int cy, {required int from, required int to, required int durationMs}) → Future<void>
Two fingers on a horizontal line through (cx, cy), moving from from to to pixels apart over durationMs.
swipe(int x1, int y1, int x2, int y2, {required int durationMs, int holdMs = 0}) → Future<void>
tap(int x, int y) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited