@yume-chan/adb
Version:
TypeScript implementation of Android Debug Bridge (ADB) protocol.
33 lines (25 loc) • 958 B
text/typescript
import type { Adb } from "../../adb.js";
import { AdbFeature } from "../../features.js";
import { AdbNoneProtocolSubprocessService } from "./none/index.js";
import { AdbShellProtocolSubprocessService } from "./shell/index.js";
export class AdbSubprocessService {
readonly
get adb() {
return this.
}
readonly
get noneProtocol(): AdbNoneProtocolSubprocessService {
return this.
}
readonly
get shellProtocol(): AdbShellProtocolSubprocessService | undefined {
return this.
}
constructor(adb: Adb) {
this.
this.
if (adb.canUseFeature(AdbFeature.ShellV2)) {
this.
}
}
}