adam
0.5.7-SNAPSHOT
jvm
adam
/
com.malinskiy.adam
/
AndroidDebugBridgeClient
Android
Debug
Bridge
Client
class
AndroidDebugBridgeClient
(
val
port
:
Int
,
val
host
:
InetAddress
,
val
socketFactory
:
SocketFactory
)
:
Closeable
Members
Constructors
Android
Debug
Bridge
Client
Link copied to clipboard
constructor
(
port
:
Int
,
host
:
InetAddress
,
socketFactory
:
SocketFactory
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
If you're reusing the socket factory across multiple clients then this will affect another client
execute
Link copied to clipboard
suspend
fun
execute
(
request
:
EmulatorCommandRequest
)
:
String
suspend
fun
<
T
>
execute
(
request
:
ComplexRequest
<
T
>
,
serial
:
String
?
=
null
)
:
T
suspend
fun
<
T
>
execute
(
request
:
MultiRequest
<
T
>
,
serial
:
String
?
=
null
)
:
T
fun
<
T
,
I
>
execute
(
request
:
AsyncChannelRequest
<
T
,
I
>
,
scope
:
CoroutineScope
,
serial
:
String
?
=
null
)
:
ReceiveChannel
<
T
>
Properties
host
Link copied to clipboard
val
host
:
InetAddress
port
Link copied to clipboard
val
port
:
Int
socket
Factory
Link copied to clipboard
val
socketFactory
:
SocketFactory