Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Meeting Control Objects/ Subscribing to Participant Addition Result Notifications
Updated on 2025-08-14 GMT+08:00

Subscribing to Participant Addition Result Notifications

Function

When multiple participants are added, there may be multiple notifications.

Function Prototype

setOnAddAttendeeNotifyCB(onAddAttendeeNotify: (addAttendeeResultList: AddAttendeeResultList) => void): voidsetOnAddAttendeeNotifyCB(onAddAttendeeNotify: (addAttendeeResultList: AddAttendeeResultList) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onAddAttendeeNotify Yes (addAttendeeResultList: AddAttendeeResultList) => void When multiple participants are added, there may be multiple notifications.

Return Values

void

Notification Method Parameters

(addAttendeeResultList: AddAttendeeResultList) => void

Table 2 Input parameter description
Parameter Type Description
addAttendeeResultList AddAttendeeResultList Participant addition results.
Table 3 AddAttendeeResultList
Parameter Type Description
addAttendeeResults Array<AddAttendeeResult> List of added participants.
Table 4 AddAttendeeResult
Parameter Type Description
number string Number.
thirdUserId string Third-party account.
resultCode For details about SDKERR, see Error Code Reference. Error code.
corpId string Enterprise ID.