public enum DetectionType extends Enum<DetectionType>
Enum Constant and Description |
---|
Long
Detect the end of a longer phrase, sentence or sentences that may have brief pauses.
|
None
Do not detect the end of speech.
|
Short
Detect the end of a short phrase with no pauses.
|
Modifier and Type | Method and Description |
---|---|
static DetectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetectionType None
public static final DetectionType Short
public static final DetectionType Long
public static DetectionType[] values()
for (DetectionType c : DetectionType.values()) System.out.println(c);
public static DetectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null