public enum QualityCheckShortDescription extends java.lang.Enum<QualityCheckShortDescription>
Enum Constant and Description |
---|
MULTIPLE_SPEAKERS_DETECTED
Multiple speakers detected
|
OK
Audio successfully passed quality check and can be used for voice template creation
|
TOO_NOISY
Too noisy audio
|
TOO_SMALL_SPEECH_RELATIVE_LENGTH
Too small speech relative length (speech length relative to the total audio length)
|
TOO_SMALL_SPEECH_TOTAL_LENGTH
Too small speech length in the audio
|
Modifier and Type | Method and Description |
---|---|
static QualityCheckShortDescription |
fromCode(int code) |
int |
getCode() |
static QualityCheckShortDescription |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QualityCheckShortDescription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QualityCheckShortDescription TOO_NOISY
public static final QualityCheckShortDescription TOO_SMALL_SPEECH_TOTAL_LENGTH
public static final QualityCheckShortDescription OK
public static final QualityCheckShortDescription TOO_SMALL_SPEECH_RELATIVE_LENGTH
public static final QualityCheckShortDescription MULTIPLE_SPEAKERS_DETECTED
public static QualityCheckShortDescription[] values()
for (QualityCheckShortDescription c : QualityCheckShortDescription.values()) System.out.println(c);
public static QualityCheckShortDescription 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 int getCode()
public static QualityCheckShortDescription fromCode(int code)