Package cn.rongcloud.callplus.api
Enum RCCallPlusAudioRouteType
-
- All Implemented Interfaces:
public enum RCCallPlusAudioRouteType
-
-
Field Summary
Fields Modifier and Type Field Description public intvalue
-
Enum Constant Summary
Enum Constants Enum Constant Description UNKNOWNSPEAKER_PHONE扬声器
EARPIECE听筒
HEADSET耳机
HEADSET_BLUETOOTH蓝牙耳机音乐模式
HEADSET_BLUETOOTH_SCO蓝牙耳机通话模式
-
Method Summary
Modifier and Type Method Description static RCCallPlusAudioRouteTypegetAudioRouteType(int value)static Array<RCCallPlusAudioRouteType>values()Returns an array containing the constants of this enum type, in the order they're declared. static RCCallPlusAudioRouteTypevalueOf(String name)Returns the enum constant of this type with the specified name. intgetValue()-
-
Method Detail
-
getAudioRouteType
static RCCallPlusAudioRouteType getAudioRouteType(int value)
-
values
static Array<RCCallPlusAudioRouteType> 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 RCCallPlusAudioRouteType 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
-
getValue
int getValue()
-
-
-
-