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.
44 lines
751 B
44 lines
751 B
4 years ago
|
//
|
||
|
// WXYZ_PlayingInfoCenter.h
|
||
|
// WXReader
|
||
|
//
|
||
|
// Created by Andrew on 2020/4/18.
|
||
|
// Copyright © 2020 Andrew. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
@protocol WXYZ_PlayingInfoCenterDelegate <NSObject>
|
||
|
|
||
|
@optional
|
||
|
|
||
|
// 播放
|
||
|
- (void)playRemoteCommand;
|
||
|
|
||
|
// 暂停
|
||
|
- (void)pauseRemoteCommand;
|
||
|
|
||
|
// 上一首
|
||
|
- (void)lastRemoteCommand;
|
||
|
|
||
|
// 下一首
|
||
|
- (void)nextRemoteCommand;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface WXYZ_PlayingInfoCenter : NSObject
|
||
|
|
||
|
@property (nullable, nonatomic, weak) id <WXYZ_PlayingInfoCenterDelegate> delegate;
|
||
|
|
||
|
interface_singleton
|
||
|
|
||
|
- (void)showPlayingInfoCenterWithProductionChapterModel:(TFProductionChapterModel *)productionChapterModel;
|
||
|
|
||
|
- (void)hiddenPlayingInfoCenter;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|