You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
4 years ago
|
//
|
||
|
// WXYZ_PlayerModel.h
|
||
|
// WXYZ_Player
|
||
|
//
|
||
|
// Created by ihoudf on 2017/7/18.
|
||
|
// Copyright © 2017年 ihoudf. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
/**
|
||
|
音频数据model类(必传)
|
||
|
*/
|
||
|
@interface WXYZ_PlayerModel : NSObject
|
||
|
|
||
|
@property (nonatomic, assign) NSUInteger audioId; // 音频Id(从0开始,仅标识当前音频在数组中的位置)
|
||
|
|
||
|
@property (nonatomic, strong) NSURL *audioUrl; // 音频地址
|
||
|
|
||
|
@end
|
||
|
|
||
|
/**
|
||
|
音频信息model类(非必传)
|
||
|
*/
|
||
|
@interface WXYZ_PlayerInfoModel : NSObject
|
||
|
|
||
|
@property (nonatomic, nullable, copy) NSString *audioLyrics; // 歌词
|
||
|
|
||
|
/* 正确传入以下属性时,WXYZ_Player将自动设置锁屏模式和控制中心的播放信息展示 */
|
||
|
|
||
|
@property (nonatomic, nullable, copy) NSString *audioName; // 音频名
|
||
|
|
||
|
@property (nonatomic, nullable, copy) NSString *audioAlbum; // 专辑名
|
||
|
|
||
|
@property (nonatomic, nullable, copy) NSString *audioSinger; // 歌手名
|
||
|
|
||
|
@property (nonatomic, nullable, copy) UIImage *audioImage; // 音频配图
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|
||
|
|