Class TTSVoiceDescriptor

java.lang.Object
com.inductiveautomation.ignition.gateway.services.tts.TTSVoiceDescriptor
All Implemented Interfaces:
Serializable

public class TTSVoiceDescriptor extends Object implements Serializable
See Also:
  • Constructor Details

    • TTSVoiceDescriptor

      public TTSVoiceDescriptor(Locale locale)
    • TTSVoiceDescriptor

      public TTSVoiceDescriptor(String engine, Locale locale, String name)
  • Method Details

    • parse

      public static TTSVoiceDescriptor parse(String value)
      The opposite of toString, this parses the voice description from a string in the format of "engineId/locale/name"
    • getLocale

      public Locale getLocale()
      Returns the locale, or language, represented by this voice.
    • getName

      public String getName()
      Returns the name of the voice.
    • getEngine

      public String getEngine()
      Returns the id of the engine that provides this voice.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object