Voice.Features Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the set of features it supports for a given voice.
public virtual System.Collections.Generic.ICollection<string>? Features { [Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "GetGetFeaturesHandler")] get; }
[<get: Android.Runtime.Register("getFeatures", "()Ljava/util/Set;", "GetGetFeaturesHandler")>]
member this.Features : System.Collections.Generic.ICollection<string>
Property Value
Set instance. May return null
on error.
- Attributes
Remarks
Returns the set of features it supports for a given voice. Features can either be framework defined, e.g. TextToSpeech.Engine#KEY_FEATURE_NETWORK_TIMEOUT_MS
or engine specific. Engine specific keys must be prefixed by the name of the engine they are intended for. These keys can be used as parameters to TextToSpeech#speak(String, int, java.util.HashMap)
and TextToSpeech#synthesizeToFile(String, java.util.HashMap, String)
.
Features values are strings and their values must met restrictions described in their documentation.
Java documentation for android.speech.tts.Voice.getFeatures()
.
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.