public enum EmphasisLevel extends java.lang.Enum<EmphasisLevel>
Enum Constant and Description |
---|
MODERATE
Increase the value and slow down the speaking rate, but not as much as when set to strong, this is used as a default if level is not provided.
|
REDUCED
Decrease the value and speed up the speaking rate.
|
STRONG
Increase the value and slow down the speaking rate so the speech is louder and slower.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static EmphasisLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmphasisLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmphasisLevel STRONG
public static final EmphasisLevel MODERATE
public static final EmphasisLevel REDUCED
public static EmphasisLevel[] values()
for (EmphasisLevel c : EmphasisLevel.values()) System.out.println(c);
public static EmphasisLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<EmphasisLevel>