//
//  KKMusicPlayListCell.h
//  Open
//
//  Created by 雷俊博 on 2020/6/17.
//  Copyright © 2020 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XMSDK.h"

NS_ASSUME_NONNULL_BEGIN
@class KKMusicPlayListCell;
@protocol KKMusicPlayListCellDelegate <NSObject>

- (void)btnClickWithCell:(KKMusicPlayListCell *)cell Btn:(UIButton *)btn model:(XMTrack *)model;

@end

@interface KKMusicPlayListCell : UITableViewCell

@property (nonatomic, weak)id<KKMusicPlayListCellDelegate>delegate;

@property(nonatomic, strong) XMTrack *playModel;

@property(nonatomic, assign)NSInteger index;

@property(nonatomic, assign) BOOL isPlaying;     //是否为播放对象

@property(nonatomic, assign) BOOL playStatue;   //播放状态播放/暂停

@property (nonatomic, assign)XMSDKPlayerState playingState;

@end

NS_ASSUME_NONNULL_END
