Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Meeting Control Objects/ Subscribing to Meeting End Notifications
Updated on 2023-03-23 GMT+08:00

Subscribing to Meeting End Notifications

Function

A notification is sent when the meeting ends.

Function Prototype

setOnConfEndedNotifyCB(onConfEndedNotify: (confEndInfo: ConfEndInfo) => void): voidsetOnConfEndedNotifyCB(onConfEndedNotify: (confEndInfo: ConfEndInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onConfEndedNotify Y (confEndInfo: ConfEndInfo) => void Notification sent when the meeting ends.

Return Values

void

Notification Method Parameters

(confEndInfo: ConfEndInfo) => void

Table 2 Input parameter description
Parameter Type Description
confEndInfo ConfEndInfo Information about the ended meeting.
Table 3 ConfEndInfo
Parameter Type Description
reason ConfEndReason Reason for leaving the meeting.
Table 4 Enumerated values of ConfEndReason
Enumeration Name Enumerated Value Description
HWM_CONF_END_REASON_LEAVE_CONF_HANGUP 0 The user leaves the meeting.
HWM_CONF_END_REASON_STOP_CONF_HANGUP 1 The meeting has ended.
HWM_CONF_END_REASON_HOST_HANGUP 2 The user is removed by the host.
HWM_CONF_END_REASON_SESSION_TIMER_TIMEOUT 3 Network interrupted.
HWM_CONF_END_REASON_NOSTREAM_HANGUP 4 Network error.
HWM_CONF_END_REASON_CORP_CONFERENCE_RESOURCE_HAS_BEEN_RUN_OUT 5 The amount of enterprise resources has reached the upper limit.
HWM_CONF_END_REASON_CONF_ONLY_SAME_ENTERPRISE 6 Only enterprise users can join the meeting.
HWM_CONF_END_REASON_CONF_ONLY_INVITED 7 Only invited users can join the meeting.
HWM_CONF_END_REASON_CONF_IS_LOCKED 8 The meeting is locked.
HWM_CONF_END_ERR_VMR_NOT_BEEN_HOLD 9 Guests are not allowed to activate the meeting in this cloud meeting room.
HWM_CONF_END_REASON_VMR_CONF_CONFLICT 10 Meetings conflict in this cloud meeting room.
HWM_CONF_END_REASON_SERVER_ERROR 11 Server exception.
HWM_CONF_END_REASON_NUM_OF_PAR_EXCEEDS_UPPER_LIMIT 12 More participants than allowed by the cloud meeting room package.