Class TextToSpeechVoiceName
- Namespace
- Uralstech.UCloud.TextToSpeech
Denotes the name of a TTS voice by its separate parts.
public class TextToSpeechVoiceName
- Inheritance
-
objectTextToSpeechVoiceName
Constructors
TextToSpeechVoiceName()
public TextToSpeechVoiceName()
TextToSpeechVoiceName(string)
public TextToSpeechVoiceName(string name)
Parameters
name
stringThe name of the voice, in the format: "[BCP-47 language code]-[Type]-[ID]".
Fields
Id
The last part of the name, the single-character ID of the voice.
public char Id
Field Value
- char
LanguageCode
The first part of the name, a BCP-47 language code.
public string LanguageCode
Field Value
- string
Type
The second part of the name, the type, e.g. Neural2, Journey.
public TextToSpeechVoiceType Type
Field Value
Properties
FullName
The fully formatted name of the voice.
public string FullName { get; }
Property Value
- string
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator TextToSpeechVoiceName(string)
public static implicit operator TextToSpeechVoiceName(string value)
Parameters
value
string
Returns
implicit operator string(TextToSpeechVoiceName)
public static implicit operator string(TextToSpeechVoiceName value)
Parameters
value
TextToSpeechVoiceName
Returns
- string