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

Subscribing to Meeting Information Notifications

Function

A notification is sent when the meeting information is changed.

Function Prototype

setOnConfInfoNotifyCB(onConfInfoNotify: (confInfo: ConfInfo) => void): voidsetOnConfInfoNotifyCB(onConfInfoNotify: (confInfo: ConfInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onConfInfoNotify Y (confInfo: ConfInfo) => void Notification sent when the meeting information is changed.

Return Values

void

Notification Method Parameters

(confInfo: ConfInfo) => void

Table 2 Input parameter description
Parameter Type Description
confInfo ConfInfo Meeting details.
Table 3 ConfInfo
Parameter Type Description
hostJoinUri string Link for the host to join the meeting (valid only for the macOS platform).
guestJoinUri string Link for guests to join the meeting using a browser.
confId string Meeting ID.
selfConfRole ConfRole Role in the meeting, such as host and guest.
hostPwd string Host password.
guestPwd string Guest password.
subject string Meeting topic.
startTime number Meeting start time.
endTime number Meeting end time.
schedulerName string Name of the user who schedules the meeting.
mediaType MediaType Meeting type. (This parameter is valid only for the macOS platform.)
vmrConfId string Display ID of the cloud meeting. (This parameter is valid only for the macOS platform.)
corpId string Enterprise ID. (This parameter is valid only for the macOS platform.)
isOtherCorpConf boolean Whether the meeting belongs to an external enterprise. If you join the meeting of an external enterprise or join the meeting anonymously, the value is true. Otherwise, the value is false.
isCreator boolean Whether you are the meeting scheduler. This parameter is valid only for the Windows platform.
isInBreakoutSubConf boolean Whether you are in a breakout room.
Table 4 Enumerated values of ConfRole
Enumeration Name Enumerated Value Description
HWM_CONF_ROLE_ATTENDEE 0 Common participant.
HWM_CONF_ROLE_HOST 1 Host.
HWM_CONF_ROLE_AUDIENCE 2 Attendee.
HWM_CONF_ROLE_COHOST 3 Co-host.
HWM_CONF_ROLE_WAITING 4 Waiting room member.
Table 5 Enumerated values of MediaType
Enumeration Name Enumerated Value Description
HWM_MEDIA_TYPE_AUDIO 0 Audio.
HWM_MEDIA_TYPE_VIDEO 1 Video.