Loading api/current.xml +12 −1 Original line number Diff line number Diff line Loading @@ -135940,6 +135940,17 @@ visibility="public" > </field> <field name="EXTRA_PARTIAL_RESULTS" type="java.lang.String" transient="false" volatile="false" value=""android.speech.extra.PARTIAL_RESULTS"" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="EXTRA_PROMPT" type="java.lang.String" transient="false" Loading Loading @@ -210277,7 +210288,7 @@ deprecated="not deprecated" visibility="public" > <parameter name="arg0" type="T"> <parameter name="t" type="T"> </parameter> </method> </interface> core/java/android/speech/RecognitionListener.java +2 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,8 @@ public interface RecognitionListener { * 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 RecognitionManager#startListening(Intent)}, depending on the speech recognition * service implementation. * service implementation. To request partial results, use * {@link RecognizerIntent#EXTRA_PARTIAL_RESULTS} * * @param partialResults the returned results. To retrieve the results in * ArrayList<String> format use {@link Bundle#getStringArrayList(String)} with Loading core/java/android/speech/RecognizerIntent.java +8 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public class RecognizerIntent { * <li>{@link #EXTRA_PROMPT} * <li>{@link #EXTRA_LANGUAGE} * <li>{@link #EXTRA_MAX_RESULTS} * <li>{@link #EXTRA_PARTIAL_RESULTS} * </ul> * * <p> Result extras (returned in the result, not to be specified in the request): Loading Loading @@ -165,6 +166,13 @@ public class RecognizerIntent { */ public static final String EXTRA_MAX_RESULTS = "android.speech.extra.MAX_RESULTS"; /** * Optional boolean to indicate whether partial results should be returned by the recognizer * as the user speaks (default is false). The server may ignore a request for partial * results in some or all cases. */ public static final String EXTRA_PARTIAL_RESULTS = "android.speech.extra.PARTIAL_RESULTS"; /** * When the intent is {@link #ACTION_RECOGNIZE_SPEECH}, the speech input activity will * return results to you via the activity results mechanism. Alternatively, if you use this Loading Loading
api/current.xml +12 −1 Original line number Diff line number Diff line Loading @@ -135940,6 +135940,17 @@ visibility="public" > </field> <field name="EXTRA_PARTIAL_RESULTS" type="java.lang.String" transient="false" volatile="false" value=""android.speech.extra.PARTIAL_RESULTS"" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="EXTRA_PROMPT" type="java.lang.String" transient="false" Loading Loading @@ -210277,7 +210288,7 @@ deprecated="not deprecated" visibility="public" > <parameter name="arg0" type="T"> <parameter name="t" type="T"> </parameter> </method> </interface>
core/java/android/speech/RecognitionListener.java +2 −1 Original line number Diff line number Diff line Loading @@ -79,7 +79,8 @@ public interface RecognitionListener { * 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 RecognitionManager#startListening(Intent)}, depending on the speech recognition * service implementation. * service implementation. To request partial results, use * {@link RecognizerIntent#EXTRA_PARTIAL_RESULTS} * * @param partialResults the returned results. To retrieve the results in * ArrayList<String> format use {@link Bundle#getStringArrayList(String)} with Loading
core/java/android/speech/RecognizerIntent.java +8 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public class RecognizerIntent { * <li>{@link #EXTRA_PROMPT} * <li>{@link #EXTRA_LANGUAGE} * <li>{@link #EXTRA_MAX_RESULTS} * <li>{@link #EXTRA_PARTIAL_RESULTS} * </ul> * * <p> Result extras (returned in the result, not to be specified in the request): Loading Loading @@ -165,6 +166,13 @@ public class RecognizerIntent { */ public static final String EXTRA_MAX_RESULTS = "android.speech.extra.MAX_RESULTS"; /** * Optional boolean to indicate whether partial results should be returned by the recognizer * as the user speaks (default is false). The server may ignore a request for partial * results in some or all cases. */ public static final String EXTRA_PARTIAL_RESULTS = "android.speech.extra.PARTIAL_RESULTS"; /** * When the intent is {@link #ACTION_RECOGNIZE_SPEECH}, the speech input activity will * return results to you via the activity results mechanism. Alternatively, if you use this Loading