> For the complete documentation index, see [llms.txt](https://doc.youzhuan.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youzhuan.net/ctrl-host/yun-dui-jie/chang-yong-shu-ju-lei-jie-shao/device.md).

# Device

### 路径

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

### 数据介绍

|          变量名          |                                                    类型                                                   |        作用       |            获取方法            |
| :-------------------: | :-----------------------------------------------------------------------------------------------------: | :-------------: | :------------------------: |
|       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](/ctrl-host/yun-dui-jie/chang-yong-shu-ju-lei-jie-shao/cloudstatusupdatebean.md) | 音乐主机的状态信息,为null | getCloudStatesUpdateBean() |
|        musicMap       |                                        Map\<String,List\<Music>>                                        |     音乐主机的音乐     |        getMusicMap()       |
