Package cn.rongcloud.callplus.api
Enum RCCallPlusAudioQuality
-
- All Implemented Interfaces:
public enum RCCallPlusAudioQuality设置音频通话质量, 默认为普通通话模式
-
-
Field Summary
Fields Modifier and Type Field Description public intbitrate
-
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 RCCallPlusAudioQualitygetAudioQuality(int value)static Array<RCCallPlusAudioQuality>values()Returns an array containing the constants of this enum type, in the order they're declared. static RCCallPlusAudioQualityvalueOf(String name)Returns the enum constant of this type with the specified name. intgetBitrate()-
-
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()
-
-
-
-