public abstract class SpeechRecognizerEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpeechRecognizerEvent.EventType
Types of recognizer event
|
Constructor and Description |
---|
SpeechRecognizerEvent() |
Modifier and Type | Method and Description |
---|---|
void |
onError(Exception exception)
Fired when audio recorder throws errors.
|
abstract void |
onRecognitionComplete(SpeechResult result)
Fired when audio recording has been committed.
|
void |
onRecordingCancelled()
Fired when audio recording has been canceled.
|
void |
onRecordingComplete()
Fired when recording timer expires or the user dismisses the dialog.
|
public void onRecordingComplete()
public abstract void onRecognitionComplete(SpeechResult result)
public void onRecordingCancelled()
public void onError(Exception exception)