| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- //
- // MOShowBaseView.h
- // MiMoLive
- //
- // Created by SuperC on 2024/8/15.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface MOShowBaseView : UIView
- @property (weak, nonatomic) IBOutlet UIView *showView;
- @property (weak, nonatomic) IBOutlet UILabel *adminLab;
- @property (nonatomic, assign) NSInteger num;
- @property (weak, nonatomic) IBOutlet UILabel *numLab;
- @property (weak, nonatomic) IBOutlet UILabel *nameLab;
- @property (weak, nonatomic) IBOutlet UIImageView *goldenImg;
- @property (weak, nonatomic) IBOutlet UILabel *goldenNumLab;
- @property (weak, nonatomic) IBOutlet UIImageView *seatImgView;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *seatImgWidth;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *seatImgHeight;
- @property (weak, nonatomic) IBOutlet UIImageView *headImgView;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *headImgWidth;
- @property (weak, nonatomic) IBOutlet NSLayoutConstraint *headImgHeight;
- @property (weak, nonatomic) IBOutlet BigBtn *voiceBtn;
- @property (nonatomic, copy) void (^viewClickBlock)(MOLinkMic *viewModel, NSInteger num);
- @property (nonatomic, copy) void (^voiceClickBlock)(MOLinkMic *viewModel);
- @property (nonatomic, copy) void (^goldBtnClickBlock)(MOLinkMic *viewModel);
- @property (nonatomic, assign) CGFloat viewWidth;
- @property (nonatomic, copy) NSString *roomId;
- @property (nonatomic, strong) MOLinkMic *viewData;
- @property (nonatomic, strong) MOSettingInfo *settingInfo;
- @property (nonatomic, assign) BOOL isSimpleLinkMic; // 是否是单人连麦
- @property (nonatomic, assign) BOOL isSimpleShow; // 是否简单展示
- + (instancetype)moShowBaseView;
- - (void)toOpenShowLocalView;
- - (void)toSwitchTheAudience;
- - (void)toSetRemoteView;
- - (void)toCleanTheView;
- - (void)toChangeTheVideoWith:(BOOL)isStop;
- - (void)toChangeTheAudioWith:(BOOL)isStop;
- - (void)showGiftNumWith:(MORtmEntity *)entity;
- - (void)toShowVoiceAnimation;
- - (void)halfOneSecondPassed;
- - (void)toJudgeTheVoiceBtnHidden;
- /// 更新用户的视频状态
- - (void)toUpdateTheUserLiveVideoStatusWith:(AgoraVideoRemoteState)videoState And:(AgoraVideoRemoteReason)videoReason And:(NSInteger)uId;
- /// 更新用户的音频状态
- - (void)toUpdateTheUserLiveAudioStatusWith:(AgoraAudioRemoteState)audioState And:(AgoraAudioRemoteReason)audioReason And:(NSInteger)uId;
- @end
- NS_ASSUME_NONNULL_END
|