UNPKG

@aiot-toolkit/emulator

Version:

vela emulator tool.

19 lines (18 loc) 614 B
import { VelaImageType } from '../typing/Vvd'; import MiwearInstance from './miwear'; export declare class Vela5Instance extends MiwearInstance { static emulatorStartedFlag: RegExp; static appStartedFlag: RegExp; imageType: VelaImageType; appDir: string; /** * 使用 pm 安装快应用 * @param targeRpk 快应用的rpk文件路径 */ install(targeRpk: string): Promise<void>; /** 使用 am start 启动快应用 */ startApp(packageName: string): Promise<void>; /** 重启模拟器 */ reboot(): Promise<void>; closeApp(appName: string): Promise<void>; }