| 类名 | 类描述 |
|---|---|
| VHallAnnouncement | 公告类 |
| 属性 | 属性描述 |
|---|---|
| delegate | 代理对象 |
| 方法 | 方法描述 |
|---|---|
| getAnnouncementListWithRoomId | 公告列表接口 |
| 方法 | 方法描述 |
|---|---|
| announcementContentDidChange | 收到公告 |
- (void)getAnnouncementListWithRoomId:(NSString *)room_id
page_num:(NSInteger)page_num
page_size:(NSInteger)page_size
startTime:(NSString *)startTime
success:(void(^)(NSArray <VHallAnnouncementModel *> *dataArr))success
fail:(void(^)(NSError *error))fail;| 参数名称 | 备注 |
|---|---|
| content | 公告内容 |
| created_at | 创建时间 |
| duration | 显示时长 单位:秒 最小传入 10 0:默认一直显示 |
[self.vhallAnnouncement getAnnouncementListWithRoomId:self.moviePlayer.webinarInfo.webinarInfoData.interact.room_id page_num:pageNum page_size:10 startTime:@"" success:^(NSArray<VHallAnnouncementModel *> * _Nonnull dataArr) {
} fail:^(NSError * _Nonnull error) {
}];- (void)announcementContentDidChange:(NSString*)content
pushTime:(NSString*)pushTime
duration:(NSInteger)duration;| 参数名称 | 备注 |
|---|---|
| content | 公告内容 |
| pushTime | 公告发送时间 |
| duration | 显示时长 单位:秒 最小传入 10 0:默认一直显示 |