AsyncCompatShellCommandRequest

abstract class AsyncCompatShellCommandRequest<T : Any>(val cmd: String, supportedFeatures: List<Feature>, target: Target = NonSpecifiedTarget, coroutineScope: CoroutineScope, socketIdleTimeout: Long? = null) : MultiRequest<ReceiveChannel<T>>

Inheritors

Constructors

Link copied to clipboard
constructor(cmd: String, supportedFeatures: List<Feature>, target: Target = NonSpecifiedTarget, coroutineScope: CoroutineScope, socketIdleTimeout: Long? = null)

Functions

Link copied to clipboard
abstract suspend fun close(channel: SendChannel<T>)
Link copied to clipboard
abstract suspend fun convertChunk(response: ShellCommandResultChunk): T?
Link copied to clipboard
open suspend override fun execute(androidDebugBridgeClient: AndroidDebugBridgeClient, serial: String?): ReceiveChannel<T>
Link copied to clipboard

Properties

Link copied to clipboard
val cmd: String