1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-speech-RecognizerIntent"))]
__jni_bindgen! {
/// public class [RecognizerIntent](https://developer.android.com/reference/android/speech/RecognizerIntent.html)
///
/// Required feature: "android-speech-RecognizerIntent"
public class RecognizerIntent ("android/speech/RecognizerIntent") extends crate::java::lang::Object {
/// public static final [ACTION_RECOGNIZE_SPEECH](https://developer.android.com/reference/android/speech/RecognizerIntent.html#ACTION_RECOGNIZE_SPEECH)
pub const ACTION_RECOGNIZE_SPEECH : &'static str = "android.speech.action.RECOGNIZE_SPEECH";
/// public static final [ACTION_WEB_SEARCH](https://developer.android.com/reference/android/speech/RecognizerIntent.html#ACTION_WEB_SEARCH)
pub const ACTION_WEB_SEARCH : &'static str = "android.speech.action.WEB_SEARCH";
/// public static final [EXTRA_LANGUAGE_MODEL](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE_MODEL)
pub const EXTRA_LANGUAGE_MODEL : &'static str = "android.speech.extra.LANGUAGE_MODEL";
/// public static final [LANGUAGE_MODEL_FREE_FORM](https://developer.android.com/reference/android/speech/RecognizerIntent.html#LANGUAGE_MODEL_FREE_FORM)
pub const LANGUAGE_MODEL_FREE_FORM : &'static str = "free_form";
/// public static final [LANGUAGE_MODEL_WEB_SEARCH](https://developer.android.com/reference/android/speech/RecognizerIntent.html#LANGUAGE_MODEL_WEB_SEARCH)
pub const LANGUAGE_MODEL_WEB_SEARCH : &'static str = "web_search";
/// public static final [EXTRA_PROMPT](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_PROMPT)
pub const EXTRA_PROMPT : &'static str = "android.speech.extra.PROMPT";
/// public static final [EXTRA_LANGUAGE](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_LANGUAGE)
pub const EXTRA_LANGUAGE : &'static str = "android.speech.extra.LANGUAGE";
/// public static final [EXTRA_MAX_RESULTS](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_MAX_RESULTS)
pub const EXTRA_MAX_RESULTS : &'static str = "android.speech.extra.MAX_RESULTS";
/// public static final [EXTRA_RESULTS_PENDINGINTENT](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_RESULTS_PENDINGINTENT)
pub const EXTRA_RESULTS_PENDINGINTENT : &'static str = "android.speech.extra.RESULTS_PENDINGINTENT";
/// public static final [EXTRA_RESULTS_PENDINGINTENT_BUNDLE](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_RESULTS_PENDINGINTENT_BUNDLE)
pub const EXTRA_RESULTS_PENDINGINTENT_BUNDLE : &'static str = "android.speech.extra.RESULTS_PENDINGINTENT_BUNDLE";
/// public static final [RESULT_NO_MATCH](https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_NO_MATCH)
pub const RESULT_NO_MATCH : i32 = 1;
/// public static final [RESULT_CLIENT_ERROR](https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_CLIENT_ERROR)
pub const RESULT_CLIENT_ERROR : i32 = 2;
/// public static final [RESULT_SERVER_ERROR](https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_SERVER_ERROR)
pub const RESULT_SERVER_ERROR : i32 = 3;
/// public static final [RESULT_NETWORK_ERROR](https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_NETWORK_ERROR)
pub const RESULT_NETWORK_ERROR : i32 = 4;
/// public static final [RESULT_AUDIO_ERROR](https://developer.android.com/reference/android/speech/RecognizerIntent.html#RESULT_AUDIO_ERROR)
pub const RESULT_AUDIO_ERROR : i32 = 5;
/// public static final [EXTRA_RESULTS](https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_RESULTS)
pub const EXTRA_RESULTS : &'static str = "android.speech.extra.RESULTS";
}
}