ZRC SDK API interface.
More...
#include <IZRCSDK.h>
|
virtual | ~IZRCSDK () |
|
virtual ZRCSDKError | GetSDKVersion (std::string &version)=0 |
| Get the build version of current ZRC SDK.
|
|
virtual ZRCSDKError | GetSDKDisplayVersion (std::string &displayVersion)=0 |
| Get the display version of current ZRC SDK.
|
|
virtual ZRCSDKError | GetSDKExpireDate (std::string &expireDate)=0 |
| Get the expire date of an evaluation build ZRC SDK.
|
|
virtual ZRCSDKError | RegisterSink (IZRCSDKSink *pSdkSink)=0 |
| Register ZRC SDK callback sink.
|
|
virtual void | HeartBeat ()=0 |
| For linux platform only, you must call this API in main thread to trigger SDK event loop, time interval suggest 150ms.
|
|
virtual void | ForceFlushLog ()=0 |
| The log system has a cache mechanism, before you catch the log files, please call this API.
|
|
virtual ZRCSDKError | InitWebDomain (const std::string &domain)=0 |
| Init Zoom web domain. If not manually set, the default web domain is https://zoom.us.
|
|
virtual ZRCSDKError | SetProxyInfo (const ProxyInfo &proxyInfo)=0 |
| Set Proxy Info.
|
|
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 IZoomRoomsService * | CreateZoomRoomsService (const std::string &roomID=ZRCSDK_DEFAULT_ROOM_ID)=0 |
| Create a ZoomRoomsService.
|
|
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 IZoomRoomsServices.
|
|
ZRC SDK API interface.
Definition at line 170 of file IZRCSDK.h.
◆ ~IZRCSDK()
virtual IZRCSDK::~IZRCSDK |
( |
| ) |
|
|
inlinevirtual |
◆ CreateZoomRoomsService()
Create a ZoomRoomsService.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
roomID | The IZoomRoomsService's ID (optional). If specified, this ID will be used as Serial Number filed in Zoom Web portal. |
- Returns
- If the function succeeds, the return value is a pointer to IZoomRoomsService. Otherwise the function returns NULL.
- Changelog
-
◆ DestroyInstance()
Destroy the ZRC SDK instance.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ DestroyZoomRoomsService()
Destroy the ZoomRoomsService.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ ForceFlushLog()
virtual void IZRCSDK::ForceFlushLog |
( |
| ) |
|
|
pure virtual |
The log system has a cache mechanism, before you catch the log files, please call this API.
- Since
- 6.1.0
- Zoom Rooms minimum version
- 6.0.0
◆ GetInstance()
static IZRCSDK * IZRCSDK::GetInstance |
( |
| ) |
|
|
static |
Get the ZRC SDK instance.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ GetSDKDisplayVersion()
virtual ZRCSDKError IZRCSDK::GetSDKDisplayVersion |
( |
std::string & |
displayVersion | ) |
|
|
pure virtual |
Get the display version of current ZRC SDK.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
[out] | displayVersion | The display version. |
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ GetSDKExpireDate()
virtual ZRCSDKError IZRCSDK::GetSDKExpireDate |
( |
std::string & |
expireDate | ) |
|
|
pure virtual |
Get the expire date of an evaluation build ZRC SDK.
- Since
- 6.1.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
[out] | expireDate | The expire date. Empty string indicates not an evaluation build. |
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ GetSDKVersion()
virtual ZRCSDKError IZRCSDK::GetSDKVersion |
( |
std::string & |
version | ) |
|
|
pure virtual |
Get the build version of current ZRC SDK.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
[out] | version | The build version. |
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ HeartBeat()
virtual void IZRCSDK::HeartBeat |
( |
| ) |
|
|
pure virtual |
For linux platform only, you must call this API in main thread to trigger SDK event loop, time interval suggest 150ms.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
◆ InitWebDomain()
virtual ZRCSDKError IZRCSDK::InitWebDomain |
( |
const std::string & |
domain | ) |
|
|
pure virtual |
Init Zoom web domain. If not manually set, the default web domain is https://zoom.us.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ QueryAllZoomRoomsServices()
Query all the existing created IZoomRoomsServices, including previous successfully paired IZoomRoomsServices.
- Since
- 6.3.0
- Zoom Rooms minimum version
- 6.0.0
Each time app launches, ZRC SDK will recover your previous successfully paired IZoomRoomsServices. You can continue to use them to control Zoom Rooms.
- Parameters
-
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ RegisterSink()
Register ZRC SDK callback sink.
- Since
- 6.0.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
pSdkSink | A pointer to the IZRCSDKSink that receives the ZRC SDK event callback. |
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ SetProxyInfo()
Set Proxy Info.
- Since
- 6.3.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.
◆ UserInputUsernamePasswordForProxy()
virtual ZRCSDKError IZRCSDK::UserInputUsernamePasswordForProxy |
( |
const std::string & |
host, |
|
|
const uint32_t & |
port, |
|
|
const std::string & |
userName, |
|
|
const std::string & |
password, |
|
|
bool |
cancel |
|
) |
| |
|
pure virtual |
Provide username and password for proxy.
- Since
- 6.3.0
- Zoom Rooms minimum version
- 6.0.0
- Parameters
-
host | Proxy host. |
port | Proxy port. |
userName | Proxy username. |
password | Proxy password. |
cancel | Cancel to input username and password or not. |
- Returns
- If the function succeeds, the return value is ZRCSDKERR_SUCCESS. Otherwise failed. To get extended error information, see ZRCSDKError enum.