AndroidDebugBridgeClient

class AndroidDebugBridgeClient(val port: Int, val host: InetAddress, val socketFactory: SocketFactory) : Closeable

Constructors

Link copied to clipboard
constructor(port: Int, host: InetAddress, socketFactory: SocketFactory)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()

If you're reusing the socket factory across multiple clients then this will affect another client

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

Link copied to clipboard
Link copied to clipboard
val port: Int
Link copied to clipboard