更新时间:2025-04-17 GMT+08:00

呼叫其他号码列表定制

buildCallOtherNumberList

接口描述

该接口用于定制与会者列表页面呼叫其他号码列表。

方法定义

1
2
- (void)buildCallOtherNumberList:(HWMAttendeeInfo *)participantInfo
                 completionBlock:(void (^)(NSArray<HWMCallOtherNumberItem *> *items))completionBlock;

注意事项

SDK初始化时订阅HWMParticipantListItemCallOtherNumberHandler代理对象或者在需要处理的界面设置代理对象。

参数描述

HWMAttendeeInfo参数说明。

表1 HWMCallOtherNumberItem参数说明

参数

类型

描述

number

NSString *

号码

hideType

HWMContactPhoneHideType

号码隐藏类型

callback

void (^callback)(HWMAttendeeInfo *attendee)

号码点击回调

表2 枚举HWMContactPhoneHideType说明

枚举值

描述

HWMContactShowPhone

显示手机号码

HWMContactHidePhone

隐藏手机号码

HWMContactSafePhone

打码手机号码

返回值

示例代码
1
2
3
4
- (void)buildCallOtherNumberList:(HWMAttendeeInfo *)participantInfo
                 completionBlock:(void (^)(NSArray<HWMCallOtherNumberItem *> *items))completionBlock {
    completionBlock(self.callOtherNumberList);
}