Loading core/java/android/speech/IRecognitionListener.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ oneway interface IRecognitionListener { /** * Called for each ready segment of a recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. The callback might be called * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. The callback might be called * any number of times between {@link #onBeginningOfSpeech()} and * {@link #onEndOfSegmentedSession()}. * Loading @@ -91,7 +91,7 @@ oneway interface IRecognitionListener { /** * Called at the end of a segmented recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. */ void onEndOfSegmentedSession(); Loading core/java/android/speech/RecognitionListener.java +3 −3 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ public interface RecognitionListener { * <p> * Called with the results for the full speech since {@link #onReadyForSpeech(Bundle)}. * To get recognition results in segments rather than for the full session see * {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. * </p> * * @param results the recognition results. To retrieve the results in {@code Loading @@ -100,7 +100,7 @@ public interface RecognitionListener { /** * Called for each ready segment of a recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. The callback might be called * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. The callback might be called * any number of times between {@link #onReadyForSpeech(Bundle)} and * {@link #onEndOfSegmentedSession()}. * Loading @@ -112,7 +112,7 @@ public interface RecognitionListener { /** * Called at the end of a segmented recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. */ default void onEndOfSegmentedSession() {} Loading Loading
core/java/android/speech/IRecognitionListener.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ oneway interface IRecognitionListener { /** * Called for each ready segment of a recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. The callback might be called * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. The callback might be called * any number of times between {@link #onBeginningOfSpeech()} and * {@link #onEndOfSegmentedSession()}. * Loading @@ -91,7 +91,7 @@ oneway interface IRecognitionListener { /** * Called at the end of a segmented recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. */ void onEndOfSegmentedSession(); Loading
core/java/android/speech/RecognitionListener.java +3 −3 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ public interface RecognitionListener { * <p> * Called with the results for the full speech since {@link #onReadyForSpeech(Bundle)}. * To get recognition results in segments rather than for the full session see * {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. * </p> * * @param results the recognition results. To retrieve the results in {@code Loading @@ -100,7 +100,7 @@ public interface RecognitionListener { /** * Called for each ready segment of a recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. The callback might be called * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. The callback might be called * any number of times between {@link #onReadyForSpeech(Bundle)} and * {@link #onEndOfSegmentedSession()}. * Loading @@ -112,7 +112,7 @@ public interface RecognitionListener { /** * Called at the end of a segmented recognition request. To request segmented speech results * use {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}. * use {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}. */ default void onEndOfSegmentedSession() {} Loading