Package net.idrnd.voicesdk.media
Enum Class QualityCheckShortDescription
- All Implemented Interfaces:
Serializable,Comparable<QualityCheckShortDescription>,Constable
Defines short description of an audio quality check result
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMultiple speakers detectedAudio successfully passed quality check and can be used for voice template creationToo noisy audioToo small speech relative length (speech length relative to the total audio length)Too small speech length in the audio -
Method Summary
Modifier and TypeMethodDescriptionstatic QualityCheckShortDescriptionfromCode(int code) intgetCode()static QualityCheckShortDescriptionReturns the enum constant of this class with the specified name.static QualityCheckShortDescription[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
TOO_NOISY
Too noisy audio -
TOO_SMALL_SPEECH_TOTAL_LENGTH
Too small speech length in the audio -
OK
Audio successfully passed quality check and can be used for voice template creation -
TOO_SMALL_SPEECH_RELATIVE_LENGTH
Too small speech relative length (speech length relative to the total audio length) -
MULTIPLE_SPEAKERS_DETECTED
Multiple speakers detected
-
-
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
-
getCode
public int getCode() -
fromCode
-