类名 | 类描述 |
---|---|
VHallGiftObject | 礼物类 |
VHWebinarBaseInfo | 活动基础信息 |
属性 | 属性描述 |
---|---|
delegate | 代理 |
方法 | 方法描述 |
---|---|
webinarUsingGiftListWithRoomId | 观看端_获取活动使用的礼物列表 |
sendGiftWithRoomId | 观看端_发送礼物给主持人 |
permissionsCheckWithWebinarId | 获取礼物配置开关 |
方法 | 方法描述 |
---|---|
vhGifttoModel | 收到礼物 |
+ (void)webinarUsingGiftListWithRoomId:(NSString *)roomId
complete:(void(^)(NSArray <VHallGiftListItem *> *giftList, NSError *error))complete;
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
roomId | 是 | lss_xxxxxx | 房间 id |
giftItem | 接口请求成功的返回参数 | 礼物列表 |
参数名称 | 备注 |
---|---|
giftId | 礼物 id |
image_url | 礼物图片 |
name | 礼物名称 |
price | 礼物价格 |
source_status | 来源类型:0 web 1 app |
source_type | 0 系统礼物 1 自定义礼物 |
[VHallGiftObject webinarUsingGiftListWithRoomId:self.webinarInfo.webinarInfoData.interact.room_id complete:^(NSArray<VHallGiftListItem *> * _Nonnull giftList, NSError * _Nonnull error) {
@strongify(self);
if (giftList) {
}
if (error) {
}
}];