public class android.speech.RecognizerIntent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.speech.RecognizerIntent
super_class: java.lang.Object
{
public static final java.lang.String EXTRA_CALLING_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "calling_package"
public static final java.lang.String ACTION_RECOGNIZE_SPEECH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.action.RECOGNIZE_SPEECH"
public static final java.lang.String ACTION_WEB_SEARCH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.action.WEB_SEARCH"
public static final java.lang.String ACTION_VOICE_SEARCH_HANDS_FREE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.action.VOICE_SEARCH_HANDS_FREE"
public static final java.lang.String EXTRA_SECURE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extras.EXTRA_SECURE"
public static final java.lang.String EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extras.SPEECH_INPUT_MINIMUM_LENGTH_MILLIS"
public static final java.lang.String EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extras.SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS"
public static final java.lang.String EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS"
public static final java.lang.String EXTRA_LANGUAGE_MODEL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.LANGUAGE_MODEL"
public static final java.lang.String LANGUAGE_MODEL_FREE_FORM;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "free_form"
public static final java.lang.String LANGUAGE_MODEL_WEB_SEARCH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "web_search"
public static final java.lang.String EXTRA_PROMPT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.PROMPT"
public static final java.lang.String EXTRA_LANGUAGE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.LANGUAGE"
public static final java.lang.String EXTRA_ORIGIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.ORIGIN"
public static final java.lang.String EXTRA_MAX_RESULTS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.MAX_RESULTS"
public static final java.lang.String EXTRA_WEB_SEARCH_ONLY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.WEB_SEARCH_ONLY"
public static final java.lang.String EXTRA_PARTIAL_RESULTS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.PARTIAL_RESULTS"
public static final java.lang.String EXTRA_RESULTS_PENDINGINTENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.RESULTS_PENDINGINTENT"
public static final java.lang.String EXTRA_RESULTS_PENDINGINTENT_BUNDLE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE"
public static final int RESULT_NO_MATCH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int RESULT_CLIENT_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int RESULT_SERVER_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int RESULT_NETWORK_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int RESULT_AUDIO_ERROR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final java.lang.String EXTRA_RESULTS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.RESULTS"
public static final java.lang.String EXTRA_CONFIDENCE_SCORES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.CONFIDENCE_SCORES"
public static final java.lang.String DETAILS_META_DATA;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.DETAILS"
public static final java.lang.String ACTION_GET_LANGUAGE_DETAILS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.action.GET_LANGUAGE_DETAILS"
public static final java.lang.String EXTRA_ONLY_RETURN_LANGUAGE_PREFERENCE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.ONLY_RETURN_LANGUAGE_PREFERENCE"
public static final java.lang.String EXTRA_LANGUAGE_PREFERENCE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.LANGUAGE_PREFERENCE"
public static final java.lang.String EXTRA_SUPPORTED_LANGUAGES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.SUPPORTED_LANGUAGES"
public static final java.lang.String EXTRA_PREFER_OFFLINE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "android.speech.extra.PREFER_OFFLINE"
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Landroid/speech/RecognizerIntent;
public static final android.content.Intent getVoiceDetailsIntent(android.content.Context);
descriptor: (Landroid/content/Context;)Landroid/content/Intent;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=5, args_size=1
start local 0 0: new android.content.Intent
dup
ldc "android.speech.action.WEB_SEARCH"
invokespecial android.content.Intent.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 0
invokevirtual android.content.Context.getPackageManager:()Landroid/content/pm/PackageManager;
2: aload 1
sipush 128
3: invokevirtual android.content.pm.PackageManager.resolveActivity:(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
getfield android.content.pm.ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
ifnull 5
aload 2
getfield android.content.pm.ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
getfield android.content.pm.ActivityInfo.metaData:Landroid/os/Bundle;
ifnonnull 6
StackMap locals: android.content.Intent android.content.pm.ResolveInfo
StackMap stack:
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 2
getfield android.content.pm.ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
getfield android.content.pm.ActivityInfo.metaData:Landroid/os/Bundle;
ldc "android.speech.DETAILS"
invokevirtual android.os.Bundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 7: aload 3
ifnonnull 8
aconst_null
areturn
8: StackMap locals: java.lang.String
StackMap stack:
new android.content.Intent
dup
ldc "android.speech.action.GET_LANGUAGE_DETAILS"
invokespecial android.content.Intent.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: aload 4
new android.content.ComponentName
dup
aload 2
getfield android.content.pm.ResolveInfo.activityInfo:Landroid/content/pm/ActivityInfo;
getfield android.content.pm.ActivityInfo.packageName:Ljava/lang/String;
aload 3
invokespecial android.content.ComponentName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual android.content.Intent.setComponent:(Landroid/content/ComponentName;)Landroid/content/Intent;
pop
10: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Landroid/content/Context;
1 11 1 voiceSearchIntent Landroid/content/Intent;
4 11 2 ri Landroid/content/pm/ResolveInfo;
7 11 3 className Ljava/lang/String;
9 11 4 detailsIntent Landroid/content/Intent;
MethodParameters:
Name Flags
context
}
SourceFile: "RecognizerIntent.java"