core
    正在准备搜索索引...

    接口 YmxSystem

    interface YmxSystem {
        getDeviceInfo(): Promise<DeviceInfoResult>;
        getWindowInfo(): Promise<WindowInfoResult>;
    }

    层级 (查看层级一览)

    索引
    • 获取设备基础信息

      返回 Promise<DeviceInfoResult>

      const res = await ymx.getDeviceInfo();
      console.log(res);
    • 获取窗口信息

      返回 Promise<WindowInfoResult>

      const res = await ymx.getWindowInfo();
      console.log(res);