Share via


TextToSpeech.Engine.KeyFeatureNetworkSynthesis Field

Definition

Caution

deprecated

Feature key for network synthesis.

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

Field Value

Attributes

Remarks

Feature key for network 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 use network based synthesis.

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

Java documentation for android.speech.tts.TextToSpeech.Engine.KEY_FEATURE_NETWORK_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