RecognitionListener

Interface of android.speech · RecognitionListener.java · Android's reference

public interface RecognitionListener

What a speech recognizer reports

Methods

public abstract void onReadyForSpeech(Bundle params) source
public abstract void onBeginningOfSpeech() source
public abstract void onRmsChanged(float rmsdB) source
public abstract void onBufferReceived(byte[] buffer) source
public abstract void onEndOfSpeech() source
public abstract void onError(int error) source
public abstract void onResults(Bundle results) source
public abstract void onPartialResults(Bundle partialResults) source
public abstract void onEvent(int eventType, Bundle params) source
public default void onSegmentResults(Bundle segmentResults) empty body source
public default void onEndOfSegmentedSession() empty body source
public default void onLanguageDetection(Bundle results) empty body source

Made 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.