# LoginSuccessOption

### 路径

com.youzhuan.mqttclient.login.LoginSuccessOption

### 获取对象

此类是一个单例类，通过一个如下静态方法获取

#### 方法原型

```
public static LoginSuccessOption getInstance(){
    ...
    return loginSuccessOption;
}
```

### 数据介绍

|     变量名     |    类型   |           作用          |       获取方法       |
| :---------: | :-----: | :-------------------: | :--------------: |
|  isLogging  | boolean |   记录当前是否登录，登录成功为true  |   getLogging()   |
|   groupId   |   int   | 账号的Group ID登录成功后服务器返回 |   getGroupId()   |
| phoneNumber |  String |         登录的账号         | getPhoneNumber() |
|    passwd   |  String |         登录的密码         |    getPaddwd()   |
|     data    |  String |         预留的数据         |     getData()    |


---

# 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/loginsuccessoption.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.
