BgmPlayerView.h 1.12 KB
//
//  BgmPlayerView.h
//  CNLivePlayerSDKDemo
//
//  Created by iOS on 17/4/19.
//  Copyright © 2017年 雷浩杰. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BgmPlayerViewDelegate <NSObject>

- (void)valueType:(BOOL)isVolume value:(float)value;
- (void)bgmPlayerPlay:(UIButton *)button;
- (void)bgmPlayerMode:(UIButton *)button;
- (void)bgmPlayerPauseOrResume:(UIButton *)button;
- (void)bgmPlayerLast:(UIButton *)button;
- (void)bgmPlayerNext:(UIButton *)button;
- (void)bgmPlayerProgressSlider:(UISlider *)slider;

@end

@interface BgmPlayerView : UIView

@property (nonatomic, strong) UILabel *currentTimeLab;
@property (nonatomic, strong) UILabel *duraTimeLab;
@property (nonatomic, strong) UISlider *proSlider;
@property (nonatomic, strong) UILabel *songTitleLab;
@property (nonatomic, strong) UIButton *playBtn;
@property (nonatomic, strong) UIButton *nextBtn;
@property (nonatomic, strong) UIButton *lastBtn;
@property (nonatomic, strong) UIButton *pauseBtn;
@property (nonatomic, strong) UIButton *playModeBtn;
@property (nonatomic, assign) id<BgmPlayerViewDelegate> delegate;

@end

@interface MusicListView : UIView

@end