| class info |
| com.huawei.hms.mlsdk.aft.MLAftErrors |
| Result codes. |
| Type | Name | Desc |
| int | ERR_AUDIO_FILE_NOTSUPPORTED | Audio file format unsupported. |
| int | ERR_AUDIO_FILE_SIZE_OVERFLOW | Too large audio file size. |
| int | ERR_AUDIO_INIT_FAILED | Audio file initialization failed. |
| int | ERR_AUDIO_LENGTH_OVERFLOW | Too long audio duration. |
| int | ERR_AUDIO_TRANSCRIPT_FAILED | Failed to transcript the audio file. |
| int | ERR_AUDIO_UPLOAD_FAILED | Failed to upload the audio file. |
| int | ERR_AUTHORIZE_FAILED | Authentication failed. |
| int | ERR_ENGINE_BUSY | The transcription engine is busy. |
| int | ERR_FILE_NOT_FOUND | The audio file does not exist. |
| int | ERR_ILLEGAL_PARAMETER | Invalid parameter. |
| int | ERR_INTERNAL | Internal error. |
| int | ERR_LANGUAGE_CODE_NOTSUPPORTED | Unsupported language. |
| int | ERR_NETCONNECT_FAILED | Abnormal network connection. |
| int | ERR_NO_ENOUGH_STORAGE | Insufficient device storage space. |
| int | ERR_RESULT_WHEN_UPLOADING | The transcription result cannot be obtained during upload. |
| int | ERR_TASK_ALREADY_INPROGRESS | The task is being executed and cannot be submitted. |
| int | ERR_TASK_NOT_EXISTED | The transcription task does not exist. |
| int | ERR_UNKNOWN | Unknown error. |
| Constant |
| public static final int ERR_AUDIO_FILE_NOTSUPPORTED |
| Audio file format unsupported. |
| Constant value: 11101 |
| Constant |
| public static final int ERR_AUDIO_FILE_SIZE_OVERFLOW |
| Too large audio file size. |
| Constant value: 11103 |
| Constant |
| public static final int ERR_AUDIO_INIT_FAILED |
| Audio file initialization failed. |
| Constant value: 11112 |
| Constant |
| public static final int ERR_AUDIO_LENGTH_OVERFLOW |
| Too long audio duration. |
| Constant value: 11104 |
| Constant |
| public static final int ERR_AUDIO_TRANSCRIPT_FAILED |
| Failed to transcript the audio file. |
| Constant value: 11111 |
| Constant |
| public static final int ERR_AUDIO_UPLOAD_FAILED |
| Failed to upload the audio file. |
| Constant value: 11113 |
| Constant |
| public static final int ERR_AUTHORIZE_FAILED |
| Authentication failed. |
| Constant value: 11116 |
| Constant |
| public static final int ERR_ENGINE_BUSY |
| The transcription engine is busy. |
| Constant value: 11107 |
| Constant |
| public static final int ERR_FILE_NOT_FOUND |
| The audio file does not exist. |
| Constant value: 11105 |
| Constant |
| public static final int ERR_ILLEGAL_PARAMETER |
| Invalid parameter. |
| Constant value: 11106 |
| Constant |
| public static final int ERR_INTERNAL |
| Internal error. |
| Constant value: 11198 |
| Constant |
| public static final int ERR_LANGUAGE_CODE_NOTSUPPORTED |
| Unsupported language. |
| Constant value: 11102 |
| Constant |
| public static final int ERR_NETCONNECT_FAILED |
| Abnormal network connection. |
| Constant value: 11108 |
| Constant |
| public static final int ERR_NO_ENOUGH_STORAGE |
| Insufficient device storage space. |
| Constant value: 11115 |
| Constant |
| public static final int ERR_RESULT_WHEN_UPLOADING |
| The transcription result cannot be obtained during upload. |
| Constant value: 11109 |
| Constant |
| public static final int ERR_TASK_ALREADY_INPROGRESS |
| The task is being executed and cannot be submitted. |
| Constant value: 11114 |
| Constant |
| public static final int ERR_TASK_NOT_EXISTED |
| The transcription task does not exist. |
| Constant value: 11110 |
| Constant |
| public static final int ERR_UNKNOWN |
| Unknown error. |
| Constant value: 11199 |