UNPKG

@yume-chan/adb-scrcpy

Version:

Use `@yume-chan/adb` to bootstrap `@yume-chan/scrcpy`.

21 lines 669 B
import { ScrcpyOptions3_0 } from "@yume-chan/scrcpy"; import { createConnection, getDisplays, getEncoders, } from "./2_1/impl/index.js"; export class AdbScrcpyOptions3_0 extends ScrcpyOptions3_0 { version; spawner; constructor(init, clientOptions) { super(init); this.version = clientOptions?.version ?? "3.0"; this.spawner = clientOptions?.spawner; } getEncoders(adb, path) { return getEncoders(adb, path, this); } getDisplays(adb, path) { return getDisplays(adb, path, this); } createConnection(adb) { return createConnection(adb, this.value); } } //# sourceMappingURL=3_0.js.map