Loading core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -39119,6 +39119,7 @@ package android.speech { field public static final String ACTION_VOICE_SEARCH_HANDS_FREE = "android.speech.action.VOICE_SEARCH_HANDS_FREE"; field public static final String ACTION_WEB_SEARCH = "android.speech.action.WEB_SEARCH"; field public static final String DETAILS_META_DATA = "android.speech.DETAILS"; field public static final String EXTRA_AUDIO_INJECT_SOURCE = "android.speech.extra.AUDIO_INJECT_SOURCE"; field public static final String EXTRA_CALLING_PACKAGE = "calling_package"; field public static final String EXTRA_CONFIDENCE_SCORES = "android.speech.extra.CONFIDENCE_SCORES"; field public static final String EXTRA_LANGUAGE = "android.speech.extra.LANGUAGE"; core/java/android/speech/RecognizerIntent.java +10 −3 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package android.speech; import java.util.ArrayList; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.BroadcastReceiver; Loading @@ -28,6 +26,8 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import java.util.ArrayList; /** * Constants for supporting speech recognition through starting an {@link Intent} */ Loading @@ -39,7 +39,14 @@ public class RecognizerIntent { * is set by anyone but the system process, it should be overridden by the voice search * implementation. */ public final static String EXTRA_CALLING_PACKAGE = "calling_package"; public static final String EXTRA_CALLING_PACKAGE = "calling_package"; /** * The extra key used in an intent which is providing an already opened audio source for the * RecognitionService to use. */ public static final String EXTRA_AUDIO_INJECT_SOURCE = "android.speech.extra.AUDIO_INJECT_SOURCE"; private RecognizerIntent() { // Not for instantiating. Loading Loading
core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -39119,6 +39119,7 @@ package android.speech { field public static final String ACTION_VOICE_SEARCH_HANDS_FREE = "android.speech.action.VOICE_SEARCH_HANDS_FREE"; field public static final String ACTION_WEB_SEARCH = "android.speech.action.WEB_SEARCH"; field public static final String DETAILS_META_DATA = "android.speech.DETAILS"; field public static final String EXTRA_AUDIO_INJECT_SOURCE = "android.speech.extra.AUDIO_INJECT_SOURCE"; field public static final String EXTRA_CALLING_PACKAGE = "calling_package"; field public static final String EXTRA_CONFIDENCE_SCORES = "android.speech.extra.CONFIDENCE_SCORES"; field public static final String EXTRA_LANGUAGE = "android.speech.extra.LANGUAGE";
core/java/android/speech/RecognizerIntent.java +10 −3 Original line number Diff line number Diff line Loading @@ -16,8 +16,6 @@ package android.speech; import java.util.ArrayList; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.BroadcastReceiver; Loading @@ -28,6 +26,8 @@ import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import java.util.ArrayList; /** * Constants for supporting speech recognition through starting an {@link Intent} */ Loading @@ -39,7 +39,14 @@ public class RecognizerIntent { * is set by anyone but the system process, it should be overridden by the voice search * implementation. */ public final static String EXTRA_CALLING_PACKAGE = "calling_package"; public static final String EXTRA_CALLING_PACKAGE = "calling_package"; /** * The extra key used in an intent which is providing an already opened audio source for the * RecognitionService to use. */ public static final String EXTRA_AUDIO_INJECT_SOURCE = "android.speech.extra.AUDIO_INJECT_SOURCE"; private RecognizerIntent() { // Not for instantiating. Loading