Leaving a Meeting
API Description
This API is used to leave a meeting.
Precautions
- Call this API after calling the API for joining a meeting.
- Call this API only after you receive the event of the meeting joining result notification.
Method Definition
1
|
leaveConf(params) : Promise<Result> |
Related Event
Meeting Leaving Result Notification
Parameter Description
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
params |
Yes |
object |
Meeting leaving option. For details about the parameters, see Table 2. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
isEndConf |
No |
boolean |
Whether to end a meeting when you leave the meeting. true: yes; false: no. Only the host can set this parameter to true to end a meeting when the host leaves the meeting. |
Return Values
For details about the result structure, see Table 1. For details about the result data, see the following table.
Type |
Description |
---|---|
null |
The value of data returned by this API is null. |
Sample Code
/** * Leave a meeting. */ HWMeeting.leaveConf({isEndConf:false}).then(() => { // API called. ... }).catch((e) => { // API calling failed. ... })
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