AdbConnection class
Constructors
- AdbConnection(String ip, int port, AdbCrypto crypto, {bool verbose = false})
Properties
- connected → bool
-
no setter
- crypto → AdbCrypto
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ip → String
-
final
- maxData ↔ int?
-
Specifies the maximum amount data that can be sent to the remote peer.
Only valid after a connection has been established.
getter/setter pair
-
onConnectionChanged
→ Stream<
bool> -
no setter
-
openStreams
→ Map<
int, AdbStream> -
final
- port → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verbose → bool
-
final
Methods
-
cleanupStreams(
) → Future< void> - Closes all connected streams
-
connect(
) → Future< bool> -
disconnect(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String destination) → Future< AdbStream> - Opens a new stream to the remote peer, ensuring that the connection is established and the stream is open.
-
openShell(
) → Future< AdbStream> - Opens a new shell stream to the remote peer, ensuring that the connection is established and the stream is open.
-
sendMessage(
Uint8List messageData, {bool flush = false}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited