public class SpeechResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
SPEECH_STATUS_GOOD_QUALITY |
static int |
SPEECH_STATUS_WITH_NOISE |
static int |
STATUS_RECOGNIZE_OK |
static int |
STATUS_RESULT_NOT_CHANGE |
Constructor and Description |
---|
SpeechResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
complete()
Check whether the recognition is completed.
|
java.lang.String |
getResult()
Get Speech-To-Text recognition result.
|
int |
getSpeechStatus()
Get quality and status of the speech source.
|
int |
getStatus()
Get the processing status of audio uploading or recognition.
|
public static final int STATUS_RECOGNIZE_OK
public static final int STATUS_RESULT_NOT_CHANGE
public static final int SPEECH_STATUS_GOOD_QUALITY
public static final int SPEECH_STATUS_WITH_NOISE
public java.lang.String getResult()
public int getSpeechStatus()
public boolean complete()
public int getStatus()