Class TTSVoiceDescriptor
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.services.tts.TTSVoiceDescriptor
-
- All Implemented Interfaces:
java.io.Serializable
public class TTSVoiceDescriptor extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TTSVoiceDescriptor(java.lang.String engine, java.util.Locale locale, java.lang.String name)TTSVoiceDescriptor(java.util.Locale locale)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetEngine()Returns the id of the engine that provides this voice.java.util.LocalegetLocale()Returns the locale, or language, represented by this voice.java.lang.StringgetName()Returns the name of the voice.inthashCode()static TTSVoiceDescriptorparse(java.lang.String value)The opposite of toString, this parses the voice description from a string in the format of "engineId/locale/name"java.lang.StringtoString()
-
-
-
Method Detail
-
parse
public static TTSVoiceDescriptor parse(java.lang.String value)
The opposite of toString, this parses the voice description from a string in the format of "engineId/locale/name"
-
getLocale
public java.util.Locale getLocale()
Returns the locale, or language, represented by this voice.
-
getName
public java.lang.String getName()
Returns the name of the voice.
-
getEngine
public java.lang.String getEngine()
Returns the id of the engine that provides this voice.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-