Enum Class SayAsInterpretAs

java.lang.Object
java.lang.Enum<SayAsInterpretAs>
at.bestsolution.uia.SayAsInterpretAs
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<SayAsInterpretAs>, Constable

public enum SayAsInterpretAs extends Enum<SayAsInterpretAs> implements INativeEnum
Defines the values that indicate how a text-to-speech engine should interpret specific data.
  • Enum Constant Details

    • None

      public static final SayAsInterpretAs None
      The text should be spoken using the default for the text-to-speech engine.
    • Spell

      public static final SayAsInterpretAs Spell
      The text should be spoken character by character.
    • Cardinal

      public static final SayAsInterpretAs Cardinal
      The text is an integral or decimal number and should be spoken as a cardinal number.
    • Ordinal

      public static final SayAsInterpretAs Ordinal
      The text is an integral number and should be spoken as an ordinal number.
    • Number

      public static final SayAsInterpretAs Number
      The text should be spoken as a number.
    • Date

      public static final SayAsInterpretAs Date
      The text should be spoken as a date.
    • Time

      public static final SayAsInterpretAs Time
      The text should be spoken as a time value.
    • Telephone

      public static final SayAsInterpretAs Telephone
      The text should be spoken as a telephone number.
    • Currency

      public static final SayAsInterpretAs Currency
      The text should be spoken as currency.
    • Net

      public static final SayAsInterpretAs Net
      The text should be spoken as a network address, including saying the '', '/', and '@' characters.
    • Url

      public static final SayAsInterpretAs Url
      The text should be spoken as a URL.
    • Address

      public static final SayAsInterpretAs Address
      The text should be spoken as an address.
    • Alphanumeric

      public static final SayAsInterpretAs Alphanumeric
      The text should be spoken as an alphanumeric number.
    • Name

      public static final SayAsInterpretAs Name
      The text should be spoken as a name.
    • Media

      public static final SayAsInterpretAs Media
      The text should be spoken as media.
    • Date_MonthDayYear

      public static final SayAsInterpretAs Date_MonthDayYear
      The text should be spoken as a date in a Month/Day/Year format.
    • Date_DayMonthYear

      public static final SayAsInterpretAs Date_DayMonthYear
      The text should be spoken as a date in a Day/Month/Year format.
    • Date_YearMonthDay

      public static final SayAsInterpretAs Date_YearMonthDay
      The text should be spoken as a date in a Year/Month/Day format.
    • Date_YearMonth

      public static final SayAsInterpretAs Date_YearMonth
      The text should be spoken as a date in a Year/Month format.
    • Date_MonthYear

      public static final SayAsInterpretAs Date_MonthYear
      The text should be spoken as a date in a Month/Year format.
    • Date_DayMonth

      public static final SayAsInterpretAs Date_DayMonth
      The text should be spoken as a date in a Day/Month format.
    • Date_MonthDay

      public static final SayAsInterpretAs Date_MonthDay
      The text should be spoken as a date in a Month/Day format.
    • Date_Year

      public static final SayAsInterpretAs Date_Year
      The text should be spoken as a date in a Year format.
    • Time_HoursMinutesSeconds12

      public static final SayAsInterpretAs Time_HoursMinutesSeconds12
      The text should be spoken as a time value in an Hours:Minutes:Seconds 12-hour format.
    • Time_HoursMinutes12

      public static final SayAsInterpretAs Time_HoursMinutes12
      The text should be spoken as a time value in an Hours:Minutes 12-hour format.
    • Time_HoursMinutesSeconds24

      public static final SayAsInterpretAs Time_HoursMinutesSeconds24
      The text should be spoken as a time value in an Hours:Minutes:Seconds 24-hour format.
    • Time_HoursMinutes24

      public static final SayAsInterpretAs Time_HoursMinutes24
      The text should be spoken as a time value in an Hours:Minutes 24-hour format.
  • Method Details

    • values

      public static SayAsInterpretAs[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SayAsInterpretAs valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<SayAsInterpretAs> fromNativeValue(int nativeValue)