Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Meeting Control Objects/ Subscribing to Participant Addition Result Notifications
Updated on 2024-12-27 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 List of added participants.
Table 3 AddAttendeeResultList
Parameter Type Description
addAttendeeResultSize number Number of added participants.
addAttendeeResults 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.