Loading api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -138421,6 +138421,17 @@ visibility="public" > </field> <field name="EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE" type="java.lang.String" transient="false" volatile="false" value=""android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE"" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="EXTRA_PARTIAL_RESULTS" type="java.lang.String" transient="false" core/java/android/speech/RecognizerIntent.java +9 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,15 @@ public class RecognizerIntent { public static final String ACTION_GET_LANGUAGE_DETAILS = "android.speech.action.GET_LANGUAGE_DETAILS"; /** * Specify this boolean extra in a broadcast of {@link #ACTION_GET_LANGUAGE_DETAILS} to * indicate that only the current language preference is needed in the response. This * avoids any additional computation if all you need is {@link #EXTRA_LANGUAGE_PREFERENCE} * in the response. */ public static final String EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE = "android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE"; /** * The key to the extra in the {@link Bundle} returned by {@link #ACTION_GET_LANGUAGE_DETAILS} * which is a {@link String} that represents the current language preference this user has Loading Loading
api/current.xml +11 −0 Original line number Diff line number Diff line Loading @@ -138421,6 +138421,17 @@ visibility="public" > </field> <field name="EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE" type="java.lang.String" transient="false" volatile="false" value=""android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE"" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="EXTRA_PARTIAL_RESULTS" type="java.lang.String" transient="false"
core/java/android/speech/RecognizerIntent.java +9 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,15 @@ public class RecognizerIntent { public static final String ACTION_GET_LANGUAGE_DETAILS = "android.speech.action.GET_LANGUAGE_DETAILS"; /** * Specify this boolean extra in a broadcast of {@link #ACTION_GET_LANGUAGE_DETAILS} to * indicate that only the current language preference is needed in the response. This * avoids any additional computation if all you need is {@link #EXTRA_LANGUAGE_PREFERENCE} * in the response. */ public static final String EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE = "android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE"; /** * The key to the extra in the {@link Bundle} returned by {@link #ACTION_GET_LANGUAGE_DETAILS} * which is a {@link String} that represents the current language preference this user has Loading