Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c95c3a3f authored by Mike LeBeau's avatar Mike LeBeau Committed by Android (Google) Code Review
Browse files

Merge "Add EXTRA_ORIGIN to RecognizerIntent."

parents b83dee77 216ce0f1
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -180297,6 +180297,17 @@
 visibility="public"
>
</field>
<field name="EXTRA_ORIGIN"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.speech.extra.ORIGIN&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="EXTRA_PARTIAL_RESULTS"
 type="java.lang.String"
 transient="false"
+8 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ public class RecognizerIntent {
     *   <li>{@link #EXTRA_MAX_RESULTS}
     *   <li>{@link #EXTRA_PARTIAL_RESULTS}
     *   <li>{@link #EXTRA_WEB_SEARCH_ONLY}
     *   <li>{@link #EXTRA_ORIGIN}
     * </ul>
     * 
     * <p> Result extras (returned in the result, not to be specified in the request):
@@ -183,6 +184,13 @@ public class RecognizerIntent {
     */
    public static final String EXTRA_LANGUAGE = "android.speech.extra.LANGUAGE";
    
    /**
     * Optional value which can be used to indicate the referer url of a page in which
     * speech was requested. For example, a web browser may choose to provide this for
     * uses of speech on a given page.
     */
    public static final String EXTRA_ORIGIN = "android.speech.extra.ORIGIN";

    /** 
     * Optional limit on the maximum number of results to return. If omitted the recognizer
     * will choose how many results to return. Must be an integer.