Package cn.rongcloud.callplus.api
Enum RCCallPlusAudioQuality
-
- All Implemented Interfaces:
public enum RCCallPlusAudioQuality
设置音频通话质量, 默认为普通通话模式
-
-
Field Summary
Fields Modifier and Type Field Description public int
bitrate
-
Enum Constant Summary
Enum Constants Enum Constant Description GAMING
开黑人声音质,编码码率最大值为18Kbps
SPEECH
人声音质,编码码率最大值为32Kbps
MUSIC
标清音乐音质,编码码率最大值为64Kbps
MUSIC_HIGH
高清音乐音质,编码码率最大值为128Kbps
-
Method Summary
Modifier and Type Method Description static RCCallPlusAudioQuality
getAudioQuality(int value)
static Array<RCCallPlusAudioQuality>
values()
Returns an array containing the constants of this enum type, in the order they're declared. static RCCallPlusAudioQuality
valueOf(String name)
Returns the enum constant of this type with the specified name. int
getBitrate()
-
-
Method Detail
-
getAudioQuality
static RCCallPlusAudioQuality getAudioQuality(int value)
-
values
static Array<RCCallPlusAudioQuality> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static RCCallPlusAudioQuality valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
- Returns:
the enum constant with the specified name
-
getBitrate
int getBitrate()
-
-
-
-