Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
HUAWEI HMS Core
Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.
| CLASS |
| public class SearchStatus |
| Represents an object indicating the API call error status. |
| Construction Method |
| SearchStatus () |
| SearchStatus(String errorCode, String errorMessage) |
| Return type | Method name |
| String | getErrorCode() |
| String | getErrorMessage() |
| void | setErrorCode(String errorCode) |
| void | setErrorMessage(String errorMessage) |
| Method |
| public String getErrorCode() |
| Obtains a result code. |
Parameters:
None.
Return:
| Return type | Parameter desc |
| String | Result code. |
| Method |
| public String getErrorMessage() |
| Obtains a result description. |
Parameters:
None.
Return:
| Return type | Parameter desc |
| String | Result description. |
| Method |
| public void setErrorCode(String errorCode) |
| Sets a result code. |
Parameters:
| Parameter name | Parameter desc |
| errorCode | Result code. |
Return:
None.
| Method |
| public void setErrorMessage(String errorMessage) |
| Sets a result description. |
Parameters:
| Parameter name | Parameter desc |
| errorMessage | Result description. |
Return:
None.
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.