Interface of android.speech · RecognitionListener.java · Android's reference
public interface RecognitionListener
What a speech recognizer reports
public abstract void onReadyForSpeech(Bundle params) sourcepublic abstract void onBeginningOfSpeech() sourcepublic abstract void onRmsChanged(float rmsdB) sourcepublic abstract void onBufferReceived(byte[] buffer) sourcepublic abstract void onEndOfSpeech() sourcepublic abstract void onError(int error) sourcepublic abstract void onResults(Bundle results) sourcepublic abstract void onPartialResults(Bundle partialResults) sourcepublic abstract void onEvent(int eventType, Bundle params) sourcepublic default void onSegmentResults(Bundle segmentResults) empty body sourcepublic default void onEndOfSegmentedSession() empty body sourcepublic default void onLanguageDetection(Bundle results) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.