Canceling a Meeting
API Description
This API is used to cancel a scheduled meeting that has not been started.
Precautions
Call this API before a meeting starts. If the meeting is already in progress, calling this API is invalid.
Method Definition
1 2 3 4 5 6 7 |
/** * Cancels a meeting. * * @param confId Indicates the meeting ID. * @param hwmCallback Indicates the result callback. */ void cancelConf(String confId, HwmCallback<Integer> hwmCallback); |
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
confId |
Yes |
String |
Meeting ID. |
Sample Code
HWMBizSdk.getBizOpenApi().cancelConf(item.getConfId(), new HwmCallback<Integer>() { @Override public void onSuccess(Integer result) { dismissLoading(); DemoUtil.showToast("Meeting canceled"); } @Override public void onFailed(int retCode, String desc) { dismissLoading(); dismiss(); String err = ErrorMessageFactory.create(Utils.getApp(), retCode); if (TextUtils.isEmpty(err)) { err = Utils.getApp().getString(R.string.hwmconf_cancel_fail_tip); } DemoUtil.showToast("Failed to cancel the meeting: "+ err); } });
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