XYStartVoiceLiveViewModel.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // XYStartVoiceLiveViewModel.h
  3. // Timi
  4. //
  5. // Created by 翟玉磊 on 2021/10/26.
  6. //
  7. #import "BaseViewModel.h"
  8. #import "XYVoiceRoomCreateViewModel.h"
  9. #import "XYStartVoiceLiveInfoModel.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface XYStartVoiceLiveViewModel : BaseViewModel
  12. /// 通过原因 1通过 2手机号不通过 3实名不通过 4加入家族不通过 5其他原因不通过
  13. @property (nonatomic, assign) NSInteger passType;
  14. @property (nonatomic, strong) XYStartVoiceLiveInfoModel *liveInfoModel;
  15. /// 房间类型
  16. @property (nonatomic, strong) NSArray *voiceRoomCategoryModels;
  17. /// 被选中的类型
  18. @property (nonatomic, strong) XYVoiceRoomTagModel *selectedTagModel;
  19. /// 房间分类
  20. @property (nonatomic, strong) NSArray *rtcRoomTypes;
  21. /// 被选中的分类
  22. @property (nonatomic, strong) XYVoiceRoomTypeModel *selectedTypeModel;
  23. @property (nonatomic, strong) UIImage *coverImage;
  24. - (void)uploadCoverImageCompleted:(void(^)(NSError *error))completed;
  25. - (void)getInitValueRequestCompleted:(void(^)(NSError *error))completed;
  26. - (void)startLiveCompleted:(void(^)(NSError *error))completed;
  27. @end
  28. NS_ASSUME_NONNULL_END