Help Center/
Meeting/
Client SDK Reference/
Android SDK/
API Reference/
Meeting Control/
Leaving a Meeting
Updated on 2024-07-30 GMT+08:00
Leaving a Meeting
1
|
HWMSdk.getOpenApi.leaveConf(HwmCallback<Integer> callback) |
API Description
This API is used to leave a meeting.
Precautions
- Do not call this API if you are not in a meeting.
- If this API is called to leave a meeting, the meeting will not end. You can join the meeting again when the meeting is still in progress.
Method Definition
1 2 3 4 5 |
/** * Leaves a meeting. * @param callback Indicates the result callback. */ void leaveConf(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()).leaveConf(new HwmCallback<Integer>() { @Override public void onSuccess(Integer integer) { Toast.makeText(HWMBizSdk.getApplication(), "You have left the meeting.", Toast.LENGTH_SHORT) .show(); } @Override public void onFailed(int retCode, String desc) { Toast.makeText(HWMBizSdk.getApplication(), "Failed to leave 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