panlili2024
2024-09-19 071a8328823a2861f93ce556a4da3e4119cab1a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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;
    }
}