Package at.bestsolution.uia
Enum Class SayAsInterpretAs
- All Implemented Interfaces:
INativeEnum,Serializable,Comparable<SayAsInterpretAs>,Constable
Defines the values that indicate how a text-to-speech engine should interpret specific data.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe text should be spoken as an address.The text should be spoken as an alphanumeric number.The text is an integral or decimal number and should be spoken as a cardinal number.The text should be spoken as currency.The text should be spoken as a date.The text should be spoken as a date in a Day/Month format.The text should be spoken as a date in a Day/Month/Year format.The text should be spoken as a date in a Month/Day format.The text should be spoken as a date in a Month/Day/Year format.The text should be spoken as a date in a Month/Year format.The text should be spoken as a date in a Year format.The text should be spoken as a date in a Year/Month format.The text should be spoken as a date in a Year/Month/Day format.The text should be spoken as media.The text should be spoken as a name.The text should be spoken as a network address, including saying the '', '/', and '@' characters.The text should be spoken using the default for the text-to-speech engine.The text should be spoken as a number.The text is an integral number and should be spoken as an ordinal number.The text should be spoken character by character.The text should be spoken as a telephone number.The text should be spoken as a time value.The text should be spoken as a time value in an Hours:Minutes 12-hour format.The text should be spoken as a time value in an Hours:Minutes 24-hour format.The text should be spoken as a time value in an Hours:Minutes:Seconds 12-hour format.The text should be spoken as a time value in an Hours:Minutes:Seconds 24-hour format.The text should be spoken as a URL. -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SayAsInterpretAs>fromNativeValue(int nativeValue) intstatic SayAsInterpretAsReturns the enum constant of this class with the specified name.static SayAsInterpretAs[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
None
The text should be spoken using the default for the text-to-speech engine. -
Spell
The text should be spoken character by character. -
Cardinal
The text is an integral or decimal number and should be spoken as a cardinal number. -
Ordinal
The text is an integral number and should be spoken as an ordinal number. -
Number
The text should be spoken as a number. -
Date
The text should be spoken as a date. -
Time
The text should be spoken as a time value. -
Telephone
The text should be spoken as a telephone number. -
Currency
The text should be spoken as currency. -
Net
The text should be spoken as a network address, including saying the '', '/', and '@' characters. -
Url
The text should be spoken as a URL. -
Address
The text should be spoken as an address. -
Alphanumeric
The text should be spoken as an alphanumeric number. -
Name
The text should be spoken as a name. -
Media
The text should be spoken as media. -
Date_MonthDayYear
The text should be spoken as a date in a Month/Day/Year format. -
Date_DayMonthYear
The text should be spoken as a date in a Day/Month/Year format. -
Date_YearMonthDay
The text should be spoken as a date in a Year/Month/Day format. -
Date_YearMonth
The text should be spoken as a date in a Year/Month format. -
Date_MonthYear
The text should be spoken as a date in a Month/Year format. -
Date_DayMonth
The text should be spoken as a date in a Day/Month format. -
Date_MonthDay
The text should be spoken as a date in a Month/Day format. -
Date_Year
The text should be spoken as a date in a Year format. -
Time_HoursMinutesSeconds12
The text should be spoken as a time value in an Hours:Minutes:Seconds 12-hour format. -
Time_HoursMinutes12
The text should be spoken as a time value in an Hours:Minutes 12-hour format. -
Time_HoursMinutesSeconds24
The text should be spoken as a time value in an Hours:Minutes:Seconds 24-hour format. -
Time_HoursMinutes24
The text should be spoken as a time value in an Hours:Minutes 24-hour format.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNativeValue
public int getNativeValue()- Specified by:
getNativeValuein interfaceINativeEnum
-
getConstantName
- Specified by:
getConstantNamein interfaceINativeEnum
-
fromNativeValue
-