/// <reference types="node" />
|
import * as EventEmitter from 'events';
|
declare class ADBDevicesEmitter extends EventEmitter {
|
_stopFlag: boolean;
|
_builtinEvents: string[];
|
_snList: string[];
|
addEventListener(eventType: string, listener: (...args: any[]) => void): void;
|
start(): void;
|
stop(): void;
|
_detectDeviceListChange(currentList: string[]): {
|
newlyAdded: string[];
|
removed: string[];
|
};
|
_execPolling(callback: any): void;
|
}
|
declare const adbDevicesEmitter: ADBDevicesEmitter;
|
export = adbDevicesEmitter;
|