Udostępnij za pośrednictwem


TextToSpeech.Engine.KeyFeatureEmbeddedSynthesis Field

Definition

Caution

deprecated

Feature key for embedded synthesis.

[Android.Runtime.Register("KEY_FEATURE_EMBEDDED_SYNTHESIS")]
[System.Obsolete("deprecated")]
public const string KeyFeatureEmbeddedSynthesis;
[<Android.Runtime.Register("KEY_FEATURE_EMBEDDED_SYNTHESIS")>]
[<System.Obsolete("deprecated")>]
val mutable KeyFeatureEmbeddedSynthesis : string

Field Value

Attributes

Remarks

Feature key for embedded synthesis. See TextToSpeech#getFeatures(Locale) for a description of how feature keys work. If set and supported by the engine as per TextToSpeech#getFeatures(Locale), the engine must synthesize text on-device (without making network requests).

This member is deprecated. Starting from API level 21, to select embedded synthesis, call (TextToSpeech#getVoices(), find a suitable embedded voice (Voice#isNetworkConnectionRequired()) and pass it to TextToSpeech#setVoice(Voice)).

Java documentation for android.speech.tts.TextToSpeech.Engine.KEY_FEATURE_EMBEDDED_SYNTHESIS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also