Obtaining the Login Status
1
|
HWMBizSdk.getBizOpenApi().getLoginState(); |
API Description
This API is used to obtain the user login status.
Method Definition
1 2 3 4 5 |
/** * Obtain the login status. * @return LoginState */ LoginState getLoginState(); |
Parameter Description
None
Return Values
|
Enumerated Value |
Description |
|---|---|
|
LOGIN_STATUS_UN_LOGIN |
Logged out. |
|
LOGIN_STATUS_LOGINING |
Logging in. |
|
LOGIN_STATUS_LOGINED |
Logged in. |
|
LOGIN_STATUS_LOGOUTING |
Logging out. |
|
LOGIN_STATUS_BUTT |
Invalid value. |
Sample Code
1
|
LoginState loginState = HWMBizSdk.getBizOpenApi().getLoginState(); |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot