Package im.zego.zegoexpress.constants
Enum ZegoRangeAudioSpeakMode
- java.lang.Object
-
- java.lang.Enum<ZegoRangeAudioSpeakMode>
-
- im.zego.zegoexpress.constants.ZegoRangeAudioSpeakMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoRangeAudioSpeakMode>
public enum ZegoRangeAudioSpeakMode extends java.lang.Enum<ZegoRangeAudioSpeakMode>
Range audio speak mode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
All mode, his voice can be heard by members of the team and by those within range.TEAM
Only team mode, only members of the team can hear his voice (not restricted by range).WORLD
Only world mode, only those within range can hear his voice.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoRangeAudioSpeakMode
getZegoRangeAudioSpeakMode(int value)
int
value()
static ZegoRangeAudioSpeakMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoRangeAudioSpeakMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ZegoRangeAudioSpeakMode ALL
All mode, his voice can be heard by members of the team and by those within range.
-
WORLD
public static final ZegoRangeAudioSpeakMode WORLD
Only world mode, only those within range can hear his voice.
-
TEAM
public static final ZegoRangeAudioSpeakMode TEAM
Only team mode, only members of the team can hear his voice (not restricted by range).
-
-
Method Detail
-
values
public static ZegoRangeAudioSpeakMode[] 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 (ZegoRangeAudioSpeakMode c : ZegoRangeAudioSpeakMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoRangeAudioSpeakMode 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()
-
getZegoRangeAudioSpeakMode
public static ZegoRangeAudioSpeakMode getZegoRangeAudioSpeakMode(int value)
-
-