# Device

### 路径

[com.youzhuan.mqttclient.device.bean.Device](https://doc.youzhuan.net/ctrl-host/yun-dui-jie/chang-yong-shu-ju-lei-jie-shao/device)

### 数据介绍

|          变量名          |                                                              类型                                                              |        作用       |            获取方法            |
| :-------------------: | :--------------------------------------------------------------------------------------------------------------------------: | :-------------: | :------------------------: |
|       deviceName      |                                                            String                                                            |       设备名称      |       getDeviceName()      |
|       deviceType      |                                                            String                                                            |       设备类型      |       getDeviceType()      |
|        deviceId       |                                                            String                                                            |       设备ID      |        getDeivceId()       |
|      callbackUrl      |                                                            String                                                            |  设备callbackUrl  |      getCallbackUrl()      |
|        topicUrl       |                                                            String                                                            |     设备服务器的地址    |        getTopicUrl()       |
|       sendTopic       |                                                            String                                                            |    发送消息的Topic   |       getSendTopic()       |
|     subscribeTopic    |                                                            String                                                            |    监听消息的Topic   |     getSubscribeTopic()    |
| cloudStatesUpdateBean | [CloudStatesUpdateBean](https://doc.youzhuan.net/ctrl-host/yun-dui-jie/chang-yong-shu-ju-lei-jie-shao/cloudstatusupdatebean) | 音乐主机的状态信息,为null | getCloudStatesUpdateBean() |
|        musicMap       |                                                   Map\<String,List\<Music>>                                                  |     音乐主机的音乐     |        getMusicMap()       |
