UNPKG

@u4/adbkit

Version:

A Typescript client for the Android Debug Bridge.

27 lines 830 B
/** * utils only used by third party */ import PromiseDuplex from 'promise-duplex'; import { Duplex } from 'stream'; import DeviceClient from '../DeviceClient'; export default class ThirdUtils { /** * use to debug external apk output * @param duplex process IO * @param name for display only * @returns resolve on stream closed */ static dumpReadable(duplex: PromiseDuplex<Duplex>, name: string): Promise<void>; static get resourceDir(): string; /** * get fullpath from a ressource file. * @param fileName filename * @returns full path within the ressource folder */ static getResourcePath(fileName: string): string; static getScreenSize(client: DeviceClient): Promise<{ x: number; y: number; }>; } //# sourceMappingURL=ThirdUtils.d.ts.map