7#ifndef _NIM_SDK_CPP_ROBOT_H_
8#define _NIM_SDK_CPP_ROBOT_H_
36 static void RegChangedCallback(
const RobotChangedCallback& callback,
const std::string& json_extension =
"");
43 static RobotInfos QueryAllRobotInfosBlock(
const std::string& json_extension =
"");
51 static RobotInfo QueryRobotInfoByAccidBlock(
const std::string& accid,
const std::string& json_extension =
"");
60 static void GetRobotInfoAsync(
const int64_t timetag,
const RobotQueryCallback& callback,
const std::string& json_extension =
"");
65 static void UnregRobotCb();
NIM SDK提供的Robot接口
Definition nim_cpp_robot.h:23
std::function< void(NIMResCode rescode, const RobotInfos &infos) RobotQueryCallback)
获取机器人信息事件通知回调模板
Definition nim_cpp_robot.h:28
std::function< void(NIMResCode rescode, NIMRobotInfoChangeType type, const RobotInfos &) RobotChangedCallback)
机器人信息变更事件通知回调模板
Definition nim_cpp_robot.h:26
std::list< RobotInfo > RobotInfos
Definition nim_robot_helper.h:70
NIMRobotInfoChangeType
Definition nim_robot_def.h:36
#define NIM_SDK_CPPWRAPPER_DLL_API
Definition nim_sdk_cpp_wrapper.h:38
NIMResCode
Definition public_defines.h:21
机器人信息
Definition nim_robot_helper.h:22