Enum Class QualityCheckShortDescription

java.lang.Object
java.lang.Enum<QualityCheckShortDescription>
net.idrnd.voicesdk.media.QualityCheckShortDescription
All Implemented Interfaces:
Serializable, Comparable<QualityCheckShortDescription>, Constable

public enum QualityCheckShortDescription extends Enum<QualityCheckShortDescription>
Defines short description of an audio quality check result
  • Enum Constant Details

    • TOO_NOISY

      public static final QualityCheckShortDescription TOO_NOISY
      Too noisy audio
    • TOO_SMALL_SPEECH_TOTAL_LENGTH

      public static final QualityCheckShortDescription TOO_SMALL_SPEECH_TOTAL_LENGTH
      Too small speech length in the audio
    • OK

      public static final QualityCheckShortDescription OK
      Audio successfully passed quality check and can be used for voice template creation
    • TOO_SMALL_SPEECH_RELATIVE_LENGTH

      public static final QualityCheckShortDescription TOO_SMALL_SPEECH_RELATIVE_LENGTH
      Too small speech relative length (speech length relative to the total audio length)
    • MULTIPLE_SPEAKERS_DETECTED

      public static final QualityCheckShortDescription MULTIPLE_SPEAKERS_DETECTED
      Multiple speakers detected
  • Method Details

    • values

      public static QualityCheckShortDescription[] 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

      public static QualityCheckShortDescription valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • fromCode

      public static QualityCheckShortDescription fromCode(int code)