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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "android-speech-tts-TextToSpeech_Engine"))]
__jni_bindgen! {
/// public class [TextToSpeech.Engine](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html)
///
/// Required feature: "android-speech-tts-TextToSpeech_Engine"
public class TextToSpeech_Engine ("android/speech/tts/TextToSpeech$Engine") extends crate::java::lang::Object {
/// [Engine](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#Engine(android.speech.tts.TextToSpeech))
///
/// Required features: "android-speech-tts-TextToSpeech"
#[cfg(any(feature = "all", all(feature = "android-speech-tts-TextToSpeech")))]
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::speech::tts::TextToSpeech>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::android::speech::tts::TextToSpeech_Engine>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "android/speech/tts/TextToSpeech$Engine", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Landroid/speech/tts/TextToSpeech;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("android/speech/tts/TextToSpeech$Engine\0", "<init>\0", "(Landroid/speech/tts/TextToSpeech;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [ACTION_CHECK_TTS_DATA](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#ACTION_CHECK_TTS_DATA)
pub const ACTION_CHECK_TTS_DATA : &'static str = "android.speech.tts.engine.CHECK_TTS_DATA";
/// public static final [ACTION_GET_SAMPLE_TEXT](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#ACTION_GET_SAMPLE_TEXT)
pub const ACTION_GET_SAMPLE_TEXT : &'static str = "android.speech.tts.engine.GET_SAMPLE_TEXT";
/// public static final [ACTION_INSTALL_TTS_DATA](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#ACTION_INSTALL_TTS_DATA)
pub const ACTION_INSTALL_TTS_DATA : &'static str = "android.speech.tts.engine.INSTALL_TTS_DATA";
/// public static final [ACTION_TTS_DATA_INSTALLED](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#ACTION_TTS_DATA_INSTALLED)
pub const ACTION_TTS_DATA_INSTALLED : &'static str = "android.speech.tts.engine.TTS_DATA_INSTALLED";
/// public static final [CHECK_VOICE_DATA_BAD_DATA](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#CHECK_VOICE_DATA_BAD_DATA)
#[deprecated] pub const CHECK_VOICE_DATA_BAD_DATA : i32 = -1;
/// public static final [CHECK_VOICE_DATA_FAIL](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#CHECK_VOICE_DATA_FAIL)
pub const CHECK_VOICE_DATA_FAIL : i32 = 0;
/// public static final [CHECK_VOICE_DATA_MISSING_DATA](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#CHECK_VOICE_DATA_MISSING_DATA)
#[deprecated] pub const CHECK_VOICE_DATA_MISSING_DATA : i32 = -2;
/// public static final [CHECK_VOICE_DATA_MISSING_VOLUME](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#CHECK_VOICE_DATA_MISSING_VOLUME)
#[deprecated] pub const CHECK_VOICE_DATA_MISSING_VOLUME : i32 = -3;
/// public static final [CHECK_VOICE_DATA_PASS](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#CHECK_VOICE_DATA_PASS)
pub const CHECK_VOICE_DATA_PASS : i32 = 1;
/// public static final [DEFAULT_STREAM](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#DEFAULT_STREAM)
pub const DEFAULT_STREAM : i32 = 3;
/// public static final [EXTRA_AVAILABLE_VOICES](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_AVAILABLE_VOICES)
pub const EXTRA_AVAILABLE_VOICES : &'static str = "availableVoices";
/// public static final [EXTRA_CHECK_VOICE_DATA_FOR](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_CHECK_VOICE_DATA_FOR)
#[deprecated] pub const EXTRA_CHECK_VOICE_DATA_FOR : &'static str = "checkVoiceDataFor";
/// public static final [EXTRA_SAMPLE_TEXT](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_SAMPLE_TEXT)
pub const EXTRA_SAMPLE_TEXT : &'static str = "sampleText";
/// public static final [EXTRA_TTS_DATA_INSTALLED](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_TTS_DATA_INSTALLED)
#[deprecated] pub const EXTRA_TTS_DATA_INSTALLED : &'static str = "dataInstalled";
/// public static final [EXTRA_UNAVAILABLE_VOICES](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_UNAVAILABLE_VOICES)
pub const EXTRA_UNAVAILABLE_VOICES : &'static str = "unavailableVoices";
/// public static final [EXTRA_VOICE_DATA_FILES](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_VOICE_DATA_FILES)
#[deprecated] pub const EXTRA_VOICE_DATA_FILES : &'static str = "dataFiles";
/// public static final [EXTRA_VOICE_DATA_FILES_INFO](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_VOICE_DATA_FILES_INFO)
#[deprecated] pub const EXTRA_VOICE_DATA_FILES_INFO : &'static str = "dataFilesInfo";
/// public static final [EXTRA_VOICE_DATA_ROOT_DIRECTORY](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#EXTRA_VOICE_DATA_ROOT_DIRECTORY)
#[deprecated] pub const EXTRA_VOICE_DATA_ROOT_DIRECTORY : &'static str = "dataRoot";
/// public static final [INTENT_ACTION_TTS_SERVICE](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#INTENT_ACTION_TTS_SERVICE)
pub const INTENT_ACTION_TTS_SERVICE : &'static str = "android.intent.action.TTS_SERVICE";
/// public static final [KEY_FEATURE_EMBEDDED_SYNTHESIS](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_FEATURE_EMBEDDED_SYNTHESIS)
#[deprecated] pub const KEY_FEATURE_EMBEDDED_SYNTHESIS : &'static str = "embeddedTts";
/// public static final [KEY_FEATURE_NETWORK_RETRIES_COUNT](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_FEATURE_NETWORK_RETRIES_COUNT)
pub const KEY_FEATURE_NETWORK_RETRIES_COUNT : &'static str = "networkRetriesCount";
/// public static final [KEY_FEATURE_NETWORK_SYNTHESIS](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_FEATURE_NETWORK_SYNTHESIS)
#[deprecated] pub const KEY_FEATURE_NETWORK_SYNTHESIS : &'static str = "networkTts";
/// public static final [KEY_FEATURE_NETWORK_TIMEOUT_MS](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_FEATURE_NETWORK_TIMEOUT_MS)
pub const KEY_FEATURE_NETWORK_TIMEOUT_MS : &'static str = "networkTimeoutMs";
/// public static final [KEY_FEATURE_NOT_INSTALLED](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_FEATURE_NOT_INSTALLED)
pub const KEY_FEATURE_NOT_INSTALLED : &'static str = "notInstalled";
/// public static final [KEY_PARAM_PAN](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_PAN)
pub const KEY_PARAM_PAN : &'static str = "pan";
/// public static final [KEY_PARAM_SESSION_ID](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_SESSION_ID)
pub const KEY_PARAM_SESSION_ID : &'static str = "sessionId";
/// public static final [KEY_PARAM_STREAM](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_STREAM)
pub const KEY_PARAM_STREAM : &'static str = "streamType";
/// public static final [KEY_PARAM_UTTERANCE_ID](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_UTTERANCE_ID)
pub const KEY_PARAM_UTTERANCE_ID : &'static str = "utteranceId";
/// public static final [KEY_PARAM_VOLUME](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#KEY_PARAM_VOLUME)
pub const KEY_PARAM_VOLUME : &'static str = "volume";
/// public static final [SERVICE_META_DATA](https://developer.android.com/reference/android/speech/tts/TextToSpeech.Engine.html#SERVICE_META_DATA)
pub const SERVICE_META_DATA : &'static str = "android.speech.tts";
}
}