Package im.zego.zegoexpress.constants
Enum ZegoRangeAudioMicrophoneState
- java.lang.Object
-
- java.lang.Enum<ZegoRangeAudioMicrophoneState>
-
- im.zego.zegoexpress.constants.ZegoRangeAudioMicrophoneState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoRangeAudioMicrophoneState>
public enum ZegoRangeAudioMicrophoneState extends java.lang.Enum<ZegoRangeAudioMicrophoneState>
Range audio microphone state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OFF
The range audio microphone is off.ON
The range audio microphone is on.TURNING_ON
The range audio microphone is turning on.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoRangeAudioMicrophoneState
getZegoRangeAudioMicrophoneState(int value)
int
value()
static ZegoRangeAudioMicrophoneState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoRangeAudioMicrophoneState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final ZegoRangeAudioMicrophoneState OFF
The range audio microphone is off.
-
TURNING_ON
public static final ZegoRangeAudioMicrophoneState TURNING_ON
The range audio microphone is turning on.
-
ON
public static final ZegoRangeAudioMicrophoneState ON
The range audio microphone is on.
-
-
Method Detail
-
values
public static ZegoRangeAudioMicrophoneState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZegoRangeAudioMicrophoneState c : ZegoRangeAudioMicrophoneState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoRangeAudioMicrophoneState valueOf(java.lang.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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public int value()
-
getZegoRangeAudioMicrophoneState
public static ZegoRangeAudioMicrophoneState getZegoRangeAudioMicrophoneState(int value)
-
-