Obtaining the Event List
API Description
This API is used to return the list of names of events that can be listened to.
Precautions
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
|
getEventList():string[] |
Parameter Description
None
Return Values
Type |
Description |
---|---|
string[] |
List of events that can be listened to. |
Event Name |
Description |
Condition |
---|---|---|
join_conf_result |
Notification of the meeting joining result. |
Triggered after the meeting joining API is called. |
leave_conf_result |
Notification of the meeting leaving result. |
Triggered when you leave a meeting. For example, you are removed from the meeting by the host or the meeting ends. |
receive_hangup_notify |
Notification of passively leaving a meeting. |
Triggered after a hang-up message is received. |
conf_config_changed |
Notification of the meeting status change. |
Triggered after the meeting control status changes. |
view_config_changed |
Notification of the meeting view change. |
Triggered after the view status changes. |
Sample Code
// Create a listener. let listener = HWMeeting.createEventListener(); // Listen to a specific event. HWMeeting.getEventList().forEach(event => { listener.on(event, (eventData) => { console.log(event, JSON.stringify(eventData)); }); });
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