Package im.zego.zegoexpress.constants
Enum ZegoRangeAudioMode
- java.lang.Object
-
- java.lang.Enum<ZegoRangeAudioMode>
-
- im.zego.zegoexpress.constants.ZegoRangeAudioMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoRangeAudioMode>
public enum ZegoRangeAudioMode extends java.lang.Enum<ZegoRangeAudioMode>
Range audio mode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SECRET_TEAM
Secret team mode, communicate with members of the team (with team members), can hear the voices of members who within the audio receive range (except the team members).TEAM
Team mode, only communicate with members of the team.WORLD
World mode, you can communicate with everyone in the room.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoRangeAudioMode
getZegoRangeAudioMode(int value)
int
value()
static ZegoRangeAudioMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoRangeAudioMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORLD
public static final ZegoRangeAudioMode WORLD
World mode, you can communicate with everyone in the room.
-
TEAM
public static final ZegoRangeAudioMode TEAM
Team mode, only communicate with members of the team.
-
SECRET_TEAM
public static final ZegoRangeAudioMode SECRET_TEAM
Secret team mode, communicate with members of the team (with team members), can hear the voices of members who within the audio receive range (except the team members).
-
-
Method Detail
-
values
public static ZegoRangeAudioMode[] 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 (ZegoRangeAudioMode c : ZegoRangeAudioMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoRangeAudioMode 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()
-
getZegoRangeAudioMode
public static ZegoRangeAudioMode getZegoRangeAudioMode(int value)
-
-