Canceling a Recurring Meeting
CancelSubCycleConf
API Description
This API is used to cancel a recurring meeting that has not been started yet.
Precautions
- Call this API after login.
- Call this API before a recurring meeting starts. If the meeting is already in progress, calling this API is invalid.
- This API is an asynchronous API. The return value only indicates whether the API is successfully called. The actual service processing result is returned in the corresponding callback function.
Method Definition
1
|
HWM_SDK_AGENT_API hwmsdk::HwmErrCode CancelSubCycleConf(const HwmCancelSubCycleConfParam *cancelSubCycleConfParam); |
Callback Function
1
|
virtual void OnCancelSubCycleConfResult(hwmsdk::HwmErrCode ret, const char* reason) {}; |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
confId |
Yes |
char[] |
Meeting ID. |
subConfID |
Yes |
char[] |
UUID of a recurring meeting. |
endOnlineConf |
Yes |
bool |
Whether to end an ongoing meeting. |
Sample Code
1 2 3 4 5 6 7 8 9 10 11 |
/** * Cancel a recurring meeting. */ int demoSubCycleConfList::CancelSubCycleConf() { hwmsdkagent::HwmCancelSubCycleConfParam subCycleConfParam{}; strcpy_s(subCycleConfParam.confId, sizeof(subCycleConfParam.confId), m_confInfo.confListInfo.confId); strcpy_s(subCycleConfParam.subConfID, sizeof(subCycleConfParam.subConfID), m_subCycleConfID.c_str()); subCycleConfParam.endOnlineConf = true; hwmsdkagent::CancelSubCycleConf(&subCycleConfParam); } |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot