目录

class info
com.huawei.hms.mlsdk.aft.MLAftErrors
Result codes.

Constant Summary

TypeNameDesc
intERR_AUDIO_FILE_NOTSUPPORTEDAudio file format unsupported.
intERR_AUDIO_FILE_SIZE_OVERFLOWToo large audio file size.
intERR_AUDIO_INIT_FAILEDAudio file initialization failed.
intERR_AUDIO_LENGTH_OVERFLOWToo long audio duration.
intERR_AUDIO_TRANSCRIPT_FAILEDFailed to transcript the audio file.
intERR_AUDIO_UPLOAD_FAILEDFailed to upload the audio file.
intERR_AUTHORIZE_FAILEDAuthentication failed.
intERR_ENGINE_BUSYThe transcription engine is busy.
intERR_FILE_NOT_FOUNDThe audio file does not exist.
intERR_ILLEGAL_PARAMETERInvalid parameter.
intERR_INTERNALInternal error.
intERR_LANGUAGE_CODE_NOTSUPPORTEDUnsupported language.
intERR_NETCONNECT_FAILEDAbnormal network connection.
intERR_NO_ENOUGH_STORAGEInsufficient device storage space.
intERR_RESULT_WHEN_UPLOADINGThe transcription result cannot be obtained during upload.
intERR_TASK_ALREADY_INPROGRESSThe task is being executed and cannot be submitted.
intERR_TASK_NOT_EXISTEDThe transcription task does not exist.
intERR_UNKNOWNUnknown error.

Constants

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