BgmPlayerView.h
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// 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