Zoom Rooms Controller SDK Reference 6.5.0
Loading...
Searching...
No Matches
IZRCSDK.h
Go to the documentation of this file.
1
7#ifndef ZRC_IZRCSDK_H
8#define ZRC_IZRCSDK_H
9
10#include "ZRCSDKDefines.h"
11#include "ZRCSDKTypes.h"
12
14
20{
24};
25
29{
31 std::string pacPath;
32 std::string httpProxyHost;
33 std::string httpProxyPort;
34 std::string httpsProxyHost;
35 std::string httpsProxyPort;
36};
37
39
43{
44public:
45 virtual ~IZRCSDKSink() {}
46
55 virtual std::string OnGetDeviceManufacturer() = 0;
56
65 virtual std::string OnGetDeviceModel() = 0;
66
75 virtual std::string OnGetDeviceSerialNumber() = 0;
76
85 virtual std::string OnGetDeviceMacAddress() = 0;
86
95 virtual std::string OnGetDeviceIP() = 0;
96
105 virtual std::string OnGetFirmwareVersion() = 0;
106
115 virtual std::string OnGetAppName() = 0;
116
125 virtual std::string OnGetAppVersion() = 0;
126
135 virtual std::string OnGetAppDeveloper() = 0;
136
145 virtual std::string OnGetAppContact() = 0;
146
155 virtual std::string OnGetAppContentDirPath() = 0;
156
165 virtual bool OnPromptToInputUserNamePasswordForProxyServer(const std::string& proxyHost, uint32_t port, const std::string& description) = 0;
166};
167
171{
172public:
173 virtual ~IZRCSDK() {}
174
185
196
207 virtual ZRCSDKError GetSDKVersion(std::string& version) = 0;
208
219 virtual ZRCSDKError GetSDKDisplayVersion(std::string& displayVersion) = 0;
220
231 virtual ZRCSDKError GetSDKExpireDate(std::string& expireDate) = 0;
232
243 virtual ZRCSDKError RegisterSink(IZRCSDKSink* pSdkSink) = 0;
244
251 virtual void HeartBeat() = 0;
252
259 virtual void ForceFlushLog() = 0;
260
271 virtual ZRCSDKError InitWebDomain(const std::string& domain) = 0;
272
283 virtual ZRCSDKError SetProxyInfo(const ProxyInfo& proxyInfo) = 0;
284
299 virtual ZRCSDKError UserInputUsernamePasswordForProxy(const std::string& host, const uint32_t& port, const std::string& userName, const std::string& password, bool cancel) = 0;
300
314 virtual IZoomRoomsService* CreateZoomRoomsService(const std::string& roomID = ZRCSDK_DEFAULT_ROOM_ID) = 0;
315
326
339 virtual ZRCSDKError QueryAllZoomRoomsServices(std::vector<ZoomRoomInfo>& result) = 0;
340};
341
343#endif //ZRC_IZRCSDK_H
ProxyType
Proxy type Here are more detailed structural descriptions.
Definition IZRCSDK.h:20
@ ProxyTypeNoProxy
None.
Definition IZRCSDK.h:21
@ ProxyTypePAC
Proxy Auto-configuration.
Definition IZRCSDK.h:22
@ ProxyTypeManual
Manual set proxy.
Definition IZRCSDK.h:23
ZRC SDK Defines.
#define ZRCSDK_DEFAULT_ROOM_ID
#define ZRCSDK_API
#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
ZRC SDK API interface.
Definition IZRCSDK.h:171
virtual ZRCSDKError GetSDKVersion(std::string &version)=0
Get the build version of current ZRC SDK.
virtual ZRCSDKError SetProxyInfo(const ProxyInfo &proxyInfo)=0
Set Proxy Info.
virtual void HeartBeat()=0
For linux platform only, you must call this API in main thread to trigger SDK event loop,...
virtual ZRCSDKError UserInputUsernamePasswordForProxy(const std::string &host, const uint32_t &port, const std::string &userName, const std::string &password, bool cancel)=0
Provide username and password for proxy.
virtual ~IZRCSDK()
Definition IZRCSDK.h:173
virtual ZRCSDKError RegisterSink(IZRCSDKSink *pSdkSink)=0
Register ZRC SDK callback sink.
virtual IZoomRoomsService * CreateZoomRoomsService(const std::string &roomID=ZRCSDK_DEFAULT_ROOM_ID)=0
Create a ZoomRoomsService.
virtual ZRCSDKError GetSDKDisplayVersion(std::string &displayVersion)=0
Get the display version of current ZRC SDK.
virtual void ForceFlushLog()=0
The log system has a cache mechanism, before you catch the log files, please call this API.
static IZRCSDK * GetInstance()
Get the ZRC SDK instance.
virtual ZRCSDKError InitWebDomain(const std::string &domain)=0
Init Zoom web domain. If not manually set, the default web domain is https://zoom....
virtual ZRCSDKError GetSDKExpireDate(std::string &expireDate)=0
Get the expire date of an evaluation build ZRC SDK.
static ZRCSDKError DestroyInstance()
Destroy the ZRC SDK instance.
virtual ZRCSDKError DestroyZoomRoomsService(IZoomRoomsService *pZoomRoomsService)=0
Destroy the ZoomRoomsService.
virtual ZRCSDKError QueryAllZoomRoomsServices(std::vector< ZoomRoomInfo > &result)=0
Query all the existing created IZoomRoomsServices, including previous successfully paired IZoomRoomsS...
ZRC SDK event callback.
Definition IZRCSDK.h:43
virtual std::string OnGetDeviceModel()=0
SDK request device model.
virtual std::string OnGetDeviceManufacturer()=0
SDK request device manufacturer.
virtual ~IZRCSDKSink()
Definition IZRCSDK.h:45
virtual bool OnPromptToInputUserNamePasswordForProxyServer(const std::string &proxyHost, uint32_t port, const std::string &description)=0
Proxy authentication prompt.
virtual std::string OnGetFirmwareVersion()=0
SDK request device firmware version.
virtual std::string OnGetAppName()=0
SDK request app name.
virtual std::string OnGetDeviceMacAddress()=0
SDK request device mac address.
virtual std::string OnGetAppContact()=0
SDK request app contact.
virtual std::string OnGetDeviceSerialNumber()=0
SDK request device serial number.
virtual std::string OnGetAppContentDirPath()=0
SDK request app content dir path to save log file and config file. In the path, app can read/write fi...
virtual std::string OnGetDeviceIP()=0
SDK request device IP address.
virtual std::string OnGetAppDeveloper()=0
SDK request app developer.
virtual std::string OnGetAppVersion()=0
SDK request app version.
ZoomRooms Service Interface.
Proxy information.
Definition IZRCSDK.h:29
std::string httpsProxyHost
HTTPS proxy host.
Definition IZRCSDK.h:34
ProxyType proxyType
Proxy type.
Definition IZRCSDK.h:30
std::string httpsProxyPort
HTTPS proxy port.
Definition IZRCSDK.h:35
std::string httpProxyPort
HTTP proxy port.
Definition IZRCSDK.h:33
std::string httpProxyHost
HTTP proxy host.
Definition IZRCSDK.h:32
std::string pacPath
PAC(Proxy Auto-configuration) file path.
Definition IZRCSDK.h:31