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.
External error event.
| Type | Name | Desc |
| int | ERR_AUDIO_PLAYER_FAILED | Audio playback error. |
| int | ERR_AUTHORIZE_FAILED | Authentication failed. |
| int | ERR_ILLEGAL_PARAMETER | Invalid parameter. |
| int | ERR_INSUFFICIENT_BALANCE | Insufficient balance. |
| int | ERR_INTERNAL | Internal error. |
| int | ERR_NET_CONNECT_FAILED | Network connection error. |
| int | ERR_SPEECH_SYNTHESIS_FAILED | TTS failed. |
| int | ERR_UNKNOWN | Unknown error. |
| Return type | Method name |
| int | getErrorId() |
| String | getErrorMsg() |
| Object | getExtension() |
| Constant |
| public static final int ERR_AUDIO_PLAYER_FAILED |
Audio playback error. Constant value: 11305 |
| Constant |
| public static final int ERR_AUTHORIZE_FAILED |
Authentication failed. Constant value: 11306 |
| Constant |
| public static final int ERR_ILLEGAL_PARAMETER |
Invalid parameter. Constant value: 11301 |
| Constant |
| public static final int ERR_INSUFFICIENT_BALANCE |
Insufficient balance. Constant value: 11303 |
| Constant |
| public static final int ERR_INTERNAL |
Internal error. Constant value: 11398 |
| Constant |
| public static final int ERR_NET_CONNECT_FAILED |
Network connection error. Constant value: 11302 |
| Constant |
| public static final int ERR_SPEECH_SYNTHESIS_FAILED |
TTS failed. Constant value: 11304 |
| Constant |
| public static final int ERR_UNKNOWN |
Unknown error. Constant value: 11399 |
| Method |
| public int getErrorId() |
| Obtains the error ID. |
Return
| Type | desc |
| int | Error ID. |
| Method |
| public String getErrorMsg() |
| Obtains error information. |
Return
| Type | desc |
| String | Error information. |
| Method |
| public Object getExtension() |
Obtains extension information. |
Return
| Type | desc |
| Object | Extended parameter. |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.