Package in.dragonbra.javasteam.enums
Enum EChatMemberStateChange
- java.lang.Object
-
- java.lang.Enum<EChatMemberStateChange>
-
- in.dragonbra.javasteam.enums.EChatMemberStateChange
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EChatMemberStateChange>
public enum EChatMemberStateChange extends java.lang.Enum<EChatMemberStateChange>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BannedDisconnectedEnteredKickedLeftVoiceDoneSpeakingVoiceSpeaking
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static intcode(java.util.EnumSet<EChatMemberStateChange> flags)static java.util.EnumSet<EChatMemberStateChange>from(int code)static EChatMemberStateChangevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EChatMemberStateChange[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Entered
public static final EChatMemberStateChange Entered
-
Left
public static final EChatMemberStateChange Left
-
Disconnected
public static final EChatMemberStateChange Disconnected
-
Kicked
public static final EChatMemberStateChange Kicked
-
Banned
public static final EChatMemberStateChange Banned
-
VoiceSpeaking
public static final EChatMemberStateChange VoiceSpeaking
-
VoiceDoneSpeaking
public static final EChatMemberStateChange VoiceDoneSpeaking
-
-
Method Detail
-
values
public static EChatMemberStateChange[] 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 (EChatMemberStateChange c : EChatMemberStateChange.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EChatMemberStateChange 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
-
code
public int code()
-
from
public static java.util.EnumSet<EChatMemberStateChange> from(int code)
-
code
public static int code(java.util.EnumSet<EChatMemberStateChange> flags)
-
-