Enum Class NCCallAudioQuality

java.lang.Object
java.lang.Enum<NCCallAudioQuality>
ai.nexconn.call.api.NCCallAudioQuality
All Implemented Interfaces:
Serializable, Comparable<NCCallAudioQuality>, Constable

public enum NCCallAudioQuality extends Enum<NCCallAudioQuality>
Audio call quality. The default is speech quality.
  • Enum Constant Details

    • GAMING

      public static final NCCallAudioQuality GAMING
      Gaming voice quality with a maximum encoding bitrate of 18 Kbps.
    • SPEECH

      public static final NCCallAudioQuality SPEECH
      Speech quality with a maximum encoding bitrate of 32 Kbps.
    • MUSIC

      public static final NCCallAudioQuality MUSIC
      Standard music quality with a maximum encoding bitrate of 64 Kbps.
    • MUSIC_HIGH

      public static final NCCallAudioQuality MUSIC_HIGH
      High-definition music quality with a maximum encoding bitrate of 128 Kbps.
  • Method Details

    • values

      public static NCCallAudioQuality[] 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 NCCallAudioQuality 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
    • getBitrate

      public int getBitrate()
    • getAudioQuality

      public static NCCallAudioQuality getAudioQuality(int value)