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

adbPath → String
final
dexPath → String
final
hashCode → int
The hash code for this object.
no setterinherited
running → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serial → String
final

Methods

call(Map<String, Object?> request, {Duration timeout = const Duration(seconds: 20)}) → Future<Map<String, Object?>>
Sends request and 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