cdts/xdts-ios 3/TreeHole/Code/Utility/VoiceRecoder/AudioPlayerView.h
2023-07-27 09:20:00 +08:00

33 lines
613 B
Objective-C

//
// AudioPlayerView.h
// Meet
//
// Created by mambaxie on 2021/1/3.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface AudioPlayerView : UIView
- (void)updateWithAudioUrl:(NSString *)audioUrl seconds:(NSInteger)seconds;
@property (nonatomic, strong) UIImageView *voiceImageView;
@property (nonatomic, strong) UILabel *secondLabel;
@property (nonatomic, strong) NSString *audioUrl;
@property (nonatomic, assign) NSInteger seconds;
@property (nonatomic, strong) BOOL(^checkCanPlay)(AudioPlayerView *view);
+ (void)stopPlay;
+ (AudioPlayerView *)playingView;
@end
NS_ASSUME_NONNULL_END