Help Center/
Meeting/
Client SDK Reference/
Android SDK/
API Reference/
Meeting Control/
Ending a Meeting
Updated on 2024-07-30 GMT+08:00
Ending a Meeting
1
|
HWMSdk.getOpenApi.endConf(HwmCallback<Integer> callback) |
API Description
This API is used by the host to end a meeting.
Precautions
- Do not call this API if you are not in a meeting.
- Only the host can end a meeting.
- After this API is called, the meeting will end and you cannot join the meeting again.
Method Definition
1 2 3 4 5 |
/** * Ends a meeting. * @param callback Indicates the result callback. */ void endConf(HwmCallback<Integer> callback); |
Parameter Description
None
Return Values
None
Sample Code
1 2 3 4 5 6 7 8 9 10 11 12 13 |
HWMSdk.getOpenApi(HWMBizSdk.getApplication()).endConf(new HwmCallback<Integer>() { @Override public void onSuccess(Integer integer) { Toast.makeText(HWMBizSdk.getApplication(), "Meeting ended.", Toast.LENGTH_SHORT) .show(); } @Override public void onFailed(int retCode, String desc) { Toast.makeText(HWMBizSdk.getApplication(), "Failed to end the meeting: " + retCode + " " + desc, Toast.LENGTH_SHORT) .show(); } }); |
Parent topic: Meeting Control
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot