Help Center/ Meeting/ Client SDK Reference/ macOS SDK/ APIs/ UI Customization/ Customizing Subitems in the Participant List
Updated on 2024-07-30 GMT+08:00

Customizing Subitems in the Participant List

onClickInjectParticipantItemBtnNotify

API Description

This API is used to customize an event of clicking a subitem in the participant list.

Method Definition

1
- (void)onClickInjectParticipantItemBtnNotify:(HWMUISDKInjectParticipantItemBtnInfoModel *)injectBtnInfo;

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

injectBtnInfo

Yes

HWMUISDKInjectParticipantItemBtnInfoModel

Information about displaying the settings window.

Table 2 HWMUISDKInjectParticipantItemBtnInfoModel description

Parameter

Type

Description

injectBtn

HWMUISDKClickInjectParticipantItemBtn

Button type.

participantInfo

HWMUISDKParticipantItemInfoModel

Participant subitem information.

btnId

NSString *

Button ID.

Table 3 Enumerated values of HWMUISDKClickInjectParticipantItemBtn

Enumerated Value

Description

HWMUISDKClickInjectParticipantItemBtnCallOtherNum

Call other number button.

HWMUISDKClickInjectParticipantItemBtnParticipantDetail

Button of viewing participant details.

Table 4 HWMUISDKParticipantItemInfoModel description

Parameter

Type

Description

number

NSString *

Number.

nickName

NSString *

Participant nickname.

thirdUserId

NSString *

Third-party account of the participant, which is used for login using app ID.

accountId

NSString *

Huawei Cloud Meeting account.

Return Values

None

Sample Code
1
2
3
4
5
- (void)onClickInjectParticipantItemBtnNotify:(HWMUISDKInjectParticipantItemBtnInfoModel *)injectBtnInfo {
    // After receiving the notification, process the reported information. The processing mode of the sample code is to print the reported information.
    NSString *info = [injectBtnInfo yy_modelDescription];
    [HWMConsoleManager shareInstance].console = [NSString stringWithFormat:@"participant: %@", info];
}