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.

48 lines
0 B

//
// JL_MusicControlManager.h
// JL_BLEKit
//
// Created by 李放 on 2021/12/20.
// Copyright © 2021 www.zh-jieli.com. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <JL_BLEKit/JL_FunctionBaseManager.h>
#import <JL_BLEKit/JL_Tools.h>
typedef NS_ENUM(UInt8, JL_FCmdMusic) {
JL_FCmdMusicPP = 0x01, //PP按钮
JL_FCmdMusicPREV = 0x02, //上一曲
JL_FCmdMusicNEXT = 0x03, //下一曲
JL_FCmdMusicMODE = 0x04, //切换播放模式
JL_FCmdMusicEQ = 0x05, //EQ
JL_FCmdMusicFastBack = 0x06, //快退
JL_FCmdMusicFastPlay = 0x07, //快进
};
NS_ASSUME_NONNULL_BEGIN
@interface JL_MusicControlManager : JL_FunctionBaseManager
#pragma mark ---> 设置播放模式
/**
@param mode
0x01:; 0x02:; 0x03:; 0x04:; 0x05:
*/
-(void)cmdSetSystemPlayMode:(JL_MusicMode)mode;
#pragma mark ---> 快进快退
/**
@param cmd 退
@param sec
@param result
*/
-(void)cmdFastPlay:(JL_FCmdMusic)cmd
Second:(uint16_t)sec
Result:(JL_CMD_RESPOND __nullable)result;
@end
NS_ASSUME_NONNULL_END