Enum Class Codec

java.lang.Object
java.lang.Enum<Codec>
didProviders.telserv.enums.Codec
All Implemented Interfaces:
Serializable, Comparable<Codec>, Constable

public enum Codec extends Enum<Codec>
  • Enum Constant Details

    • UNSPECIFIED

      public static final Codec UNSPECIFIED
    • G711

      public static final Codec G711
    • G729

      public static final Codec G729
    • PCMU

      public static final Codec PCMU
    • PCMA

      public static final Codec PCMA
  • Method Details

    • values

      public static Codec[] 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 Codec 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
    • getByCode

      public static Codec getByCode(int code)