|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SpeechRecognizer.SpeechRecognizerEvent
Used to notify when the recording state changes
Field Summary | |
---|---|
static int |
RECORDING_CANCELED
Fired when audio recording has been canceled. |
static int |
RECORDING_COMMITTED
Fired when audio recording has been committed. |
static int |
RECORDING_COMPLETE
Fired when recording timer expires or the user dismisses the dialog. |
static int |
RECORDING_ERROR
Fired when an error occurred. |
Method Summary | |
---|---|
void |
stateChanged(int event,
int freeFormValue,
java.lang.Exception lastException)
Used to notify when the audio recorder state changes. |
Field Detail |
---|
static final int RECORDING_COMPLETE
static final int RECORDING_COMMITTED
static final int RECORDING_CANCELED
static final int RECORDING_ERROR
Method Detail |
---|
void stateChanged(int event, int freeFormValue, java.lang.Exception lastException)
event
- One of RECORDING_COMPLETE, RECORDING_COMMITTED or
RECORDING_CANCELEDfreeFormValue
- The value provided to the
SpeechRecognizer.setFreeForm
method.lastException
- The last exception that occurred (if any)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |