DeviceHid class
glint's resident Device Hub helper for one physical iPhone: real touch, keyboard and button input over the CoreDevice tunnel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- purpose → String
-
The registry purpose; a second helper on the same phone uses its own so the two are not taken for one.
final
- running → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- udid → String
-
final
Methods
-
call(
Map< String, Object?> request, {Duration timeout = const Duration(seconds: 20)}) → Future<Map< String, Object?> > -
Sends
requestand returns the helper's reply; calls run one at a time and throw DeviceHidError on failure. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
) → Future< void> - Starts the helper once; concurrent callers share the same start.
-
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited