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

Subscribing to Enterprise Configuration Notifications

Function

A notification is sent when the enterprise configuration is changed.

Function Prototype

setOnCorpConfigNotifyCB(onCorpConfigNotify: (configInfo: CorpConfigInfo) => void): voidsetOnCorpConfigNotifyCB(onCorpConfigNotify: (configInfo: CorpConfigInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onCorpConfigNotify Y (configInfo: CorpConfigInfo) => void A notification is sent when the enterprise configuration is changed.

Return Values

void

Notification Method Parameters

(configInfo: CorpConfigInfo) => void

Table 2 Input parameter description
Parameter Type Description
configInfo CorpConfigInfo Configuration information.
Table 3 CorpConfigInfo
Parameter Type Description
pstnEnable boolean Whether to support mobile phone calls.
smsEnable boolean Whether to support SMS notifications.
recordEnable boolean Whether to support meeting recording.
pstnNumber string PSTN call number.
allowGuestStartConf boolean Whether to allow guests to start the meeting in advance.
allowGuestStartConfTime number Time range for a guest to join the meeting in advance, in minutes. 0: at any time; n: n minutes in advance.