UNPKG

android-bot

Version:

Android-bot is built on the AutoBot JavaScript library and provides features such as wireless screen casting and real-time control within a local network, key simulation, screen recording, screenshot capture, layout analysis, file management, application

13 lines (12 loc) 875 B
import { activeWifiAdb, activeAutoBotServer, forward2PC, getDevicesList, getForwardList, getPort, removeForward, getForwardInfoByDeviceId, isInstallServer, ForwardInfo, execAdbShell, pushFile, installApk, getPackageList } from "./utils/nodeUtils"; import Device from "./Device"; declare class AdbDevice { adbId: string; url: string; constructor(adbId: string); static listWifiDevices(scanCount?: number): Promise<Array<Device>>; static listWifiDevicesAsync(listener: (device: Device) => void, scanCount?: number): void; static listUsbDevices(): Promise<Array<Device>>; static activeAllServer(): Promise<void>; } export { AdbDevice, activeWifiAdb, activeAutoBotServer, forward2PC, getDevicesList, getForwardList, getPort, removeForward, getForwardInfoByDeviceId, isInstallServer, execAdbShell, pushFile, installApk, getPackageList, ForwardInfo, };