Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ UI Configuration Management Objects/ Subscribing to Click Injection Notifications of Participant List Subitems
Updated on 2023-03-23 GMT+08:00

Subscribing to Click Injection Notifications of Participant List Subitems

Function

A notification is sent when a user clicks a button configured with click injection in the participant list.

Function Prototype

setOnClickInjectParticipantItemBtnNotifyCB(onClickInjectParticipantItemBtnNotify: (injectBtnInfo: InjectParticipantItemBtnInfo) => void): voidsetOnClickInjectParticipantItemBtnNotifyCB(onClickInjectParticipantItemBtnNotify: (injectBtnInfo: InjectParticipantItemBtnInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onClickInjectParticipantItemBtnNotify Y (injectBtnInfo: InjectParticipantItemBtnInfo) => void Notification sent when a user clicks a button configured with click injection in the participant list.

Return Values

void

Notification Method Parameters

(injectBtnInfo: InjectParticipantItemBtnInfo) => void

Table 2 Input parameter description
Parameter Type Description
injectBtnInfo InjectParticipantItemBtnInfo Click injection notification.
Table 3 InjectParticipantItemBtnInfo
Parameter Type Description
injectBtn ClickInjectParticipantItemBtn Button type.
participantInfo ParticipantItemInfo Subitem in the participant list.
btnId string Button ID.
Table 4 Enumerated values of ClickInjectParticipantItemBtn
Enumeration Name Enumerated Value Description
HWM_CLICK_INJECT_PARTICIPANT_ITEM_BTN_CALL_OTHER_NUM 0 Call other number button.
HWM_CLICK_INJECT_PARTICIPANT_ITEM_BTN_PARTICIPANT_DETAIL 1 Button of viewing participant details.
Table 5 ParticipantItemInfo
Parameter Type Description
number string Number.
nickName string Participant display name.
thirdUserId string Third-party account of the participant, which is used for app ID login.
accountId string Huawei Cloud Meeting account.