Methods Summary |
---|
public void | onBeginningOfSpeech()The user has started to speak.
|
public void | onBufferReceived(byte[] buffer)More sound has been received. The purpose of this function is to allow giving feedback to the
user regarding the captured audio. There is no guarantee that this method will be called.
|
public void | onEndOfSpeech()Called after the user stops speaking.
|
public void | onError(int error)A network or recognition error occurred.
|
public void | onEvent(int eventType, android.os.Bundle params)Reserved for adding future events.
|
public void | onPartialResults(android.os.Bundle partialResults)Called when partial recognition results are available. The callback might be called at any
time between {@link #onBeginningOfSpeech()} and {@link #onResults(Bundle)} when partial
results are ready. This method may be called zero, one or multiple times for each call to
{@link SpeechRecognizer#startListening(Intent)}, depending on the speech recognition
service implementation. To request partial results, use
{@link RecognizerIntent#EXTRA_PARTIAL_RESULTS}
|
public void | onReadyForSpeech(android.os.Bundle params)Called when the endpointer is ready for the user to start speaking.
|
public void | onResults(android.os.Bundle results)Called when recognition results are ready.
|
public void | onRmsChanged(float rmsdB)The sound level in the audio stream has changed. There is no guarantee that this method will
be called.
|