Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IControlSystemHelper.h
Go to the documentation of this file.
1
6#ifndef ZRC_ICONTROLSYSTEMHELPER_H
7#define ZRC_ICONTROLSYSTEMHELPER_H
8
9#include "ZRCSDKTypes.h"
10
12
18{
22};
23
29{
35};
36
42{
55};
56
62{
66};
67
71{
72 std::string paramID;
73 std::string name;
74 std::string icon;
75 std::string value;
76};
77
81{
82 std::string methodID;
83 std::string name;
84 std::string icon;
85 std::string command;
87 std::vector<ControlSystemDeviceParam> params;
88 bool isMain = false;
89 bool isHidden = false;
90};
91
95{
96 std::string deviceID;
97 std::string name;
98 std::string icon;
100 std::vector<ControlSystemDeviceMethod> methods;
101};
102
106{
108 std::vector<ControlSystemDeviceInfo> devices;
109};
110
114{
115 std::string sceneID;
116 std::string name;
117 std::string icon;
118};
119
123{
124public:
126
135 virtual void OnEnableZRCSNotification(bool enable) = 0;
136
147
156 virtual void OnUpdateZRCSSceneList(const std::vector<ControlSystemSceneInfo>& scenes) = 0;
157};
158
162{
163public:
165
177
189
200 virtual ZRCSDKError IsZRCSEnabled(bool& enabled) = 0;
201
214 virtual ZRCSDKError OpenRoomControls(bool open) = 0;
215
227
238 virtual ZRCSDKError ConnectZRCSDevice(const std::string& deviceID) = 0;
239
253 virtual ZRCSDKError ControlZRCSDevice(const std::string& deviceID, const std::string& methodID, const std::string& paramID, const std::string& value) = 0;
254
265 virtual ZRCSDKError GetZRCSSceneList(std::vector<ControlSystemSceneInfo>& scenes) = 0;
266
277 virtual ZRCSDKError ExecuteZRCSScene(const std::string& sceneID) = 0;
278};
279
281
282#endif //ZRC_ICONTROLSYSTEMHELPER_H
ControlSystemDeviceMethodType
Control system device method type Here are more detailed structural descriptions.
@ ControlSystemDeviceMethodTypeRange
Range.
@ ControlSystemDeviceMethodTypeAction
Action.
@ ControlSystemDeviceMethodTypeInit
Init.
@ ControlSystemDeviceMethodTypeNone
None.
@ ControlSystemDeviceMethodTypeActions
Actions.
ControlSystemDeviceStatus
Control system device status Here are more detailed structural descriptions.
@ ControlSystemDeviceStatusConnected
Connected.
@ ControlSystemDeviceStatusConnecting
Connecting.
@ ControlSystemDeviceStatusDisconnected
Disconnected.
ControlSystemUpdateDeviceType
Control system update device type Here are more detailed structural descriptions.
@ ControlSystemUpdateDeviceTypeInit
Init.
@ ControlSystemUpdateDeviceTypeAdd
Add.
@ ControlSystemUpdateDeviceTypeUpdate
Update.
ControlSystemErrorCode
Control system error code Here are more detailed structural descriptions.
@ ControlSystemErrorCodeJsonSyntax
Json syntax error.
@ ControlSystemErrorCodeIP2SLSettings
IP2SL settings error.
@ ControlSystemErrorCodeJsonConfig
Json config error.
@ ControlSystemErrorCodeParamID
Param ID error.
@ ControlSystemErrorCodeSuccess
Success.
@ ControlSystemErrorCodeEmptyDevice
Empty device.
@ ControlSystemErrorCodeIP
IP error.
@ ControlSystemErrorCodeDeviceID
Device ID error.
@ ControlSystemErrorCodeIPIsPublic
IP is public.
@ ControlSystemErrorCodeNoConfig
No Config error.
@ ControlSystemErrorCodeUnknown
Unknown.
@ ControlSystemErrorCodeMethodID
Method ID error.
#define NS_ZRCSDK_END
#define NS_ZRCSDK_BEG
ZRC SDK Types.
ZRCSDKError
SDK error types. Here are more detailed structural descriptions.
Definition ZRCSDKTypes.h:22
Control System helper interface.
virtual ZRCSDKError OpenRoomControls(bool open)=0
Notify ZR controller enter room control system state.
virtual ZRCSDKError GetZRCSSceneList(std::vector< ControlSystemSceneInfo > &scenes)=0
Query current control system scene list.
virtual ZRCSDKError ControlZRCSDevice(const std::string &deviceID, const std::string &methodID, const std::string &paramID, const std::string &value)=0
Control ZRCS device, execute the action with specified params.
virtual ZRCSDKError ExecuteZRCSScene(const std::string &sceneID)=0
Execute control system scene.
virtual ZRCSDKError ConnectZRCSDevice(const std::string &deviceID)=0
Connect to ZRCS device.
virtual ZRCSDKError RegisterSink(IControlSystemHelperSink *pSink)=0
Register ControlSystem helper callback sink.
virtual ZRCSDKError GetZRCSDeviceList(ControlSystemDeviceList &deviceList)=0
Query current control system device list info.
virtual ZRCSDKError DeregisterSink(IControlSystemHelperSink *pSink)=0
Deregister meeting ControlSystem callback sink.
virtual ZRCSDKError IsZRCSEnabled(bool &enabled)=0
Query if control system is enabled currently.
Control System helper event callback.
virtual void OnUpdateZRCSSceneList(const std::vector< ControlSystemSceneInfo > &scenes)=0
Zoom Room Control System scene list update notification.
virtual void OnUpdateZRCSDeviceList(ControlSystemUpdateDeviceType type, const ControlSystemDeviceList &list)=0
Zoom Room Control System device list update notification.
virtual void OnEnableZRCSNotification(bool enable)=0
Enable Zoom Room Control System notification.
Control system device info.
std::string deviceID
Device ID.
ControlSystemDeviceStatus status
Device status, see ControlSystemDeviceStatus enum.
std::vector< ControlSystemDeviceMethod > methods
Supports methods.
Control system device list.
std::vector< ControlSystemDeviceInfo > devices
Devices.
ControlSystemErrorCode errorCode
Error code, see ControlSystemErrorCode enum.
Control system device method.
std::vector< ControlSystemDeviceParam > params
Param list.
ControlSystemDeviceMethodType type
Method type, see ControlSystemDeviceMethodType enum.
std::string methodID
Method ID.
bool isHidden
TRUE indicates this is hidden.
bool isMain
TRUE indicates this is a main method.
Control system device param.
std::string paramID
Param ID.
Control system scene info.
std::string sceneID
Scene ID.