| 类名 | 类描述 |
|---|---|
| VHallSurvey | 问卷类 |
| 方法 | 方法描述 |
|---|---|
| fetchSurveyListWebinarId | 获取问卷历史 |
| 属性 | 属性描述 |
|---|---|
| delegate | 代理对象 |
| 方法 | 方法描述 |
|---|---|
| receivedSurveyWithURL | 收到问卷 |
| receivedSucceed | 提交问卷成功 |
+ (void)fetchSurveyListWebinarId:(NSString *)webinarId
roomId:(NSString *)roomId
switchId:(NSString *)switchId
success:(void(^)(VHSurveyListModel * listModel))success
fail:(void(^)(NSError *error))fail;| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| webinarId | 是 | 123456789 | 活动 id |
| roomId | 是 | lss_xxxxxx | 房间 id |
| switchId | 是 | 123456 | 场次 id |
| listModel | 成功返回数据 | array | 问卷列表 |
| fail | 请求失败回调 |
| 参数名称 | 备注 |
|---|---|
| openLink | 问卷的 URL |
| title | 问卷标题 |
| question_id | 问卷 id |
| question_no | 问卷编号 |
| alias | 问卷别名 |
| created_at | 问卷创建时间 |
| updated_at | 问卷更新时间 |
| is_answered | 问卷是否参与 |
[VHWebinarBaseInfo fetchSurveyListWebinarId:self.webinarId roomId:self.inavRoom.roomInfo.data[@"interact"][@"room_id"] switchId:self.inavRoom.roomInfo.data[@"switch"][@"switch_id"] success:^(VHSurveyListModel * listModel) {
NSLog(@"%@",listModel);
} fail:^(NSError * _Nonnull error) {
NSLog(error.localizedDescription);
}];v6.4 新增
- (void)receivedSurveyWithURL:(NSURL *)surveyURL
surveyName:(NSString *)surveyName;| 参数名称 | 备注 |
|---|---|
| surveyURL | 问卷地址 |
| surveyName | 问卷名称 |
v6.4 新增
- (void)receivedSucceed:(NSString *)surveyid
surveyAccountId:(NSString *)accountid;| 参数名称 | 备注 |
|---|---|
| surveyid | 问卷 id |
| accountid | 提交人 id |