public class AsrError extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
ERROR_AUDIO |
Indicates an audio reading error during an ASR method call.
|
static int |
ERROR_CLIENT |
Indicates an error regarding the ASR engine client during an ASR method call.
|
static int |
ERROR_GET_MODEL_PATH |
Indicates a failure to obtain the ASR model path during an ASR method call.
|
static int |
ERROR_INIT_FAIL |
Indicates a failure to initialize the ASR engine during an ASR method call.
|
static int |
ERROR_INVALID_PARAMS |
Indicates that input parameters were invalid during an ASR method call.
|
static int |
ERROR_MODEL_NOT_MATCH |
Indicates that the preconfigured application package of the ASR engine did not match the ASR model during an ASR
method call.
|
static int |
ERROR_NO_ASR |
Indicates that the current device has no ASR engine to support the ASR capability.
|
static int |
ERROR_NO_MATCH |
Indicates that the speech recognition result did not match the defined JSON format during an ASR method call.
|
static int |
ERROR_RECOGNIZER_BUSY |
Indicates that the ASR engine was busy during an ASR method call.
|
static int |
ERROR_RESULT_UNSUPPORTED |
Indicates that the current ASR engine version for the device does not support the ASR method being called.
|
static int |
ERROR_SERVER |
Indicates an error regarding the ASR engine server during an ASR method call.
|
static int |
ERROR_SPEECH_TIMEOUT |
Indicates that no speech was detected within the specified period during an ASR method call.
|
static int |
ERROR_UNKNOWN |
Indicates an unknown error during an ASR method call.
|
static int |
SUCCESS |
Indicates a successful ASR method call.
|
public static final int ERROR_AUDIO
public static final int ERROR_CLIENT
public static final int ERROR_GET_MODEL_PATH
public static final int ERROR_INIT_FAIL
public static final int ERROR_INVALID_PARAMS
public static final int ERROR_MODEL_NOT_MATCH
public static final int ERROR_NO_ASR
public static final int ERROR_NO_MATCH
public static final int ERROR_RECOGNIZER_BUSY
public static final int ERROR_RESULT_UNSUPPORTED
public static final int ERROR_SERVER
public static final int ERROR_SPEECH_TIMEOUT
public static final int ERROR_UNKNOWN
public static final int SUCCESS