49 lines
1.6 KiB
Objective-C
49 lines
1.6 KiB
Objective-C
//
|
|
// RoomMicroHeaderView.h
|
|
// DingDangApp
|
|
//
|
|
// Created by apple on 2023/5/27.
|
|
//
|
|
|
|
#import "WLBaseView.h"
|
|
#import "RoomMicroModel.h"
|
|
#import "DDSVGABaseView.h"
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RoomMicroHeaderView : WLBaseView<DDSVGABaseViewDelegate>
|
|
/** 是否显示麦位头像框 true 显示 false 不显示*/
|
|
@property (nonatomic, assign) BOOL charmImgShow;
|
|
/**头像*/
|
|
@property (nonatomic,strong) DDAnimateImageView *headerImageView;
|
|
/**头像框*/
|
|
@property (nonatomic,strong) DDAnimateImageView *headerFrameImageView;
|
|
/**麦位表情*/
|
|
@property (nonatomic,strong) DDAnimateImageView *microEmojiImageView;
|
|
@property (nonatomic, copy) NSString * lastShowEmoji_User_id;
|
|
|
|
/**身份按钮*/
|
|
@property (nonatomic,strong) UIButton *identityBtn;
|
|
///麦位数据
|
|
@property (nonatomic,strong) RoomMicroModel *microModel;
|
|
/** 麦位动画 */
|
|
@property (nonatomic,strong) UIImageView * animationVoiceImg;
|
|
@property (nonatomic,strong) UIImageView * animationVoiceImg2;
|
|
//点击按钮
|
|
@property (nonatomic,strong) UIButton * headerImageBtn;
|
|
/// 闭麦标识
|
|
@property (nonatomic,strong) UIImageView * muteMicIcon;
|
|
@property (nonatomic, strong) dispatch_source_t timer;
|
|
@property (nonatomic, strong) DDSVGABaseView *avatarSVGAView;
|
|
@property (nonatomic, strong) DDSVGABaseView *voiceSVGAView;
|
|
@property (nonatomic, strong) DDSVGABaseView *voiceSVGAView2;
|
|
@property (nonatomic,copy) void(^headerImageBtnBlock)(void);
|
|
/**更新是否显示头像框*/
|
|
- (void)updateCharmImgShow:(BOOL)charmImgShow;
|
|
//开始播放麦位光波动画
|
|
- (void)starMicroAnimation;
|
|
//播放麦位表情
|
|
- (void)starAnimateEmojiImage:(NSString *)emojiUrl;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|