Update RecognitionListener JavaDoc to link to the right extra.
Fix: 220247022
Test: Only JavaDoc changes. No test needed.
Change-Id: I1ea9673da0b18efb6432f37e9aacb88ffecbca37
(cherry picked from commit 311e617aac)
This commit is contained in:
@@ -79,7 +79,7 @@ oneway interface IRecognitionListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called for each ready segment of a recognition request. To request segmented speech results
|
* 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
|
* any number of times between {@link #onBeginningOfSpeech()} and
|
||||||
* {@link #onEndOfSegmentedSession()}.
|
* {@link #onEndOfSegmentedSession()}.
|
||||||
*
|
*
|
||||||
@@ -91,7 +91,7 @@ oneway interface IRecognitionListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called at the end of a segmented recognition request. To request segmented speech results
|
* 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();
|
void onEndOfSegmentedSession();
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ public interface RecognitionListener {
|
|||||||
* <p>
|
* <p>
|
||||||
* Called with the results for the full speech since {@link #onReadyForSpeech(Bundle)}.
|
* 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
|
* To get recognition results in segments rather than for the full session see
|
||||||
* {@link RecognizerIntent#EXTRA_SEGMENT_SESSION}.
|
* {@link RecognizerIntent#EXTRA_SEGMENTED_SESSION}.
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @param results the recognition results. To retrieve the results in {@code
|
* @param results the recognition results. To retrieve the results in {@code
|
||||||
@@ -100,7 +100,7 @@ public interface RecognitionListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called for each ready segment of a recognition request. To request segmented speech results
|
* 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
|
* any number of times between {@link #onReadyForSpeech(Bundle)} and
|
||||||
* {@link #onEndOfSegmentedSession()}.
|
* {@link #onEndOfSegmentedSession()}.
|
||||||
*
|
*
|
||||||
@@ -112,7 +112,7 @@ public interface RecognitionListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called at the end of a segmented recognition request. To request segmented speech results
|
* 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() {}
|
default void onEndOfSegmentedSession() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user