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. |