AndroidServer class
glint's resident app_process server on one Android device, reached over an adb-forwarded local socket.
Constructors
- AndroidServer({required String serial, required String adbPath, required String dexPath})
Properties
Methods
-
call(
Map< String, Object?> request, {Duration timeout = const Duration(seconds: 20)}) → Future<Map< String, Object?> > -
Sends
requestand returns the server's reply; calls run one at a time. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{Duration timeout = const Duration(seconds: 15)}) → Future< void> - Pushes the dex, starts the server, and connects; throws AndroidServerError naming the step that failed.
-
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited