package com.hdl.sdk.ttl.HDLDeviceManger.EventBusEvent;
|
|
public class BgmInfoEvent {
|
public static final int PLAY_STOP = 0;//播放或停止。即当前停止就播放,当前播放就停止
|
public static final int PLAY_PAUSE = 1;//播放或暂停。即当前暂停就播放,当前播放就暂停
|
public static final int PLAY = 2;//播放
|
public static final int STOP = 3;//停止播放
|
public static final int STATUS = 4;//获取当前歌曲状态
|
public static final int LIST_PRE = 5;//获取上一播放列表。
|
public static final int LIST_NEXT = 6;//获取下一播放列表
|
public static final int SONG_PRE = 7;//上一曲
|
public static final int SONG_NEXT = 8;//下一曲
|
public static final int SONG_DEMAND = 9;//点播当前播放列表的第 N 首歌,SDK提供N值
|
public static final int VOL_SET = 10;//设置 N 值音量。SDK提供N值
|
public static final int MODE_PRE = 11;//上一播放模式
|
public static final int MODE_NEXT = 12;//下一播放模式
|
public static final int MODE_CURRENT = 13;//读取当前播放模式
|
public static final int SOURCE_MUSIC = 14;//指定音源
|
public static final int TYPE = 15;//读取歌曲类型目录
|
|
|
|
|
private int type;
|
private int value;
|
|
private byte[] addBytes;
|
|
public BgmInfoEvent(int type ){
|
|
}
|
|
public BgmInfoEvent(int type,int value ){
|
|
}
|
|
public BgmInfoEvent(byte[] addBytes ){
|
this.addBytes = addBytes;
|
}
|
|
public byte[] getAddBytes() {
|
return addBytes;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public int getValue() {
|
return value;
|
}
|
}
|