# 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()       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.youzhuan.net/ctrl-host/yun-dui-jie/chang-yong-shu-ju-lei-jie-shao/device.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
