Skip to content

重启机器人

restartRobot() -> {Promise.<boolean>}

重新启动机器人

参数

返回值 Promise.<boolean>

设置是否成功

  • true - 成功
  • false - 失败

示例

TypeScript
1
2
3
...
const success = await axRobot.restartRobot();
...