机器人状态

最后更新: 2020/12/2

方法介绍:

方法名参数JS类型Java类型必填参数说明方法说明最低版本支持平台
豹小秘豹大/花瓶豹小秘 Mini
isRobotEstimate判断当前是否已定位1.0.0
remoteWakeUpTimescallbackldnumberIntyesCommandListener的id,如果不需要处理事件,传-1上报机器人被唤醒次数1.0.0
sendStatusReporttypestringStringyes类型状态上报接口1.9.9
datastringStringyes数据
updateRobotStatusstatusnumberIntyesRobotApi.ROBOT_STATUS_IDLE 或 RobotApi.ROBOT_STATUS_BUSY更新机器人状态信息1.19.0
canRobotRebootcallbackldnumberIntyesCommandListener的id,如果不需要处理事件,传-1机器人设备重启,已过期,请使用robotReboot1.1.0
robotRebootreasonstringStringyes重启原因机器人设备重启1.2.0
updateStandbyStatusstandbyStartbooleanBooleanyes是否进入休眠更新系统休眠状态(目前只适用于豹小递)1.35.0
jsonDatastringStringyes业务json参数
taskModeReportcallbackIdnumberIntyesCommandListener的id向服务端上报当前业务模式(目前只支持豹跑堂)1.35.0
taskIdstringStringyes服务端下发切换的id
taskModestringStringyes当前模式
taskResultnumberIntyes: 切换结果 0 成功,1 失败