Package ai.nexconn.call.api
Enum Class NCCallAudioQuality
- All Implemented Interfaces:
Serializable,Comparable<NCCallAudioQuality>,Constable
Audio call quality. The default is speech quality.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGaming voice quality with a maximum encoding bitrate of 18 Kbps.Standard music quality with a maximum encoding bitrate of 64 Kbps.High-definition music quality with a maximum encoding bitrate of 128 Kbps.Speech quality with a maximum encoding bitrate of 32 Kbps. -
Method Summary
Modifier and TypeMethodDescriptionstatic NCCallAudioQualitygetAudioQuality(int value) intstatic NCCallAudioQualityReturns the enum constant of this class with the specified name.static NCCallAudioQuality[]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
-
GAMING
Gaming voice quality with a maximum encoding bitrate of 18 Kbps. -
SPEECH
Speech quality with a maximum encoding bitrate of 32 Kbps. -
MUSIC
Standard music quality with a maximum encoding bitrate of 64 Kbps. -
MUSIC_HIGH
High-definition music quality with a maximum encoding bitrate of 128 Kbps.
-
-
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
-
getBitrate
public int getBitrate() -
getAudioQuality
-