Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Meeting Control Objects/ Subscribing to Meeting Status Notifications
Updated on 2024-07-30 GMT+08:00

Subscribing to Meeting Status Notifications

Function

A notification is sent when the meeting status is changed.

Function Prototype

setOnConfStateChangedCB(onConfStateChanged: (confStateInfo: ConfStateInfo) => void): voidsetOnConfStateChangedCB(onConfStateChanged: (confStateInfo: ConfStateInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onConfStateChanged Y (confStateInfo: ConfStateInfo) => void Notification sent when the meeting status is changed.

Return Values

void

Notification Method Parameters

(confStateInfo: ConfStateInfo) => void

Table 2 Input parameter description
Parameter Type Description
confStateInfo ConfStateInfo Meeting status information.
Table 3 ConfStateInfo
Parameter Type Description
state State Meeting status.
Table 4 Enumerated values of State
Enumeration Name Enumerated Value Description
HWM_STATE_OFF 0 Closed.
HWM_STATE_ON 1 Open.