BGSoundEffectsView.h 596 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // BGSoundEffectsView.h
  3. // BuguLive
  4. //
  5. // Created by bugu on 2019/12/11.
  6. // Copyright © 2019 xfg. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. //2020-1-2 点击播放某个音效
  10. #import "UIView+addVideoToView.h"
  11. #import "BGSoundEffectModel.h"
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface BGSoundEffectsView : UIView
  14. @property (nonatomic, copy) dispatch_block_t uploadBlock;
  15. @property (nonatomic, weak)AVPlayer *player;
  16. -(void)requestData;
  17. - (void)show:(UIView *)superView;
  18. - (void)hide;
  19. @property(nonatomic, copy) void (^playUrl)(BGSoundEffectModel *model);
  20. @end
  21. NS_ASSUME_NONNULL_END