Class TTSVoiceDescriptor
java.lang.Object
com.inductiveautomation.ignition.gateway.services.tts.TTSVoiceDescriptor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionTTSVoiceDescriptor
(@Nullable String engine, Locale locale, @Nullable String name) TTSVoiceDescriptor
(Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the id of the engine that provides this voice.Returns the locale, or language, represented by this voice.getName()
Returns the name of the voice.int
hashCode()
static @NotNull TTSVoiceDescriptor
The opposite of toString, this parses the voice description from a string in the format of "engineId/locale/name"toString()
-
Constructor Details
-
TTSVoiceDescriptor
-
TTSVoiceDescriptor
-
-
Method Details
-
parse
@NotNull public static @NotNull TTSVoiceDescriptor parse(@Nullable @Nullable String value) throws TTSVoiceDescriptor.InvalidTTSVoiceDescriptorException The opposite of toString, this parses the voice description from a string in the format of "engineId/locale/name" -
getLocale
Returns the locale, or language, represented by this voice. -
getName
Returns the name of the voice. -
getEngine
Returns the id of the engine that provides this voice. -
toString
-
equals
-
hashCode
public int hashCode()
-