public static enum NimOnlineStateEvent.OnlineStateEventValue extends java.lang.Enum<NimOnlineStateEvent.OnlineStateEventValue>
Enum Constant and Description |
---|
DisConnect
Disconnected
|
Login
Login
|
Logout
Logout
|
Modifier and Type | Method and Description |
---|---|
static NimOnlineStateEvent.OnlineStateEventValue |
getOnlineStateEventValue(int value) |
int |
getValue() |
static NimOnlineStateEvent.OnlineStateEventValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NimOnlineStateEvent.OnlineStateEventValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NimOnlineStateEvent.OnlineStateEventValue Login
public static final NimOnlineStateEvent.OnlineStateEventValue Logout
public static final NimOnlineStateEvent.OnlineStateEventValue DisConnect
public static NimOnlineStateEvent.OnlineStateEventValue[] values()
for (NimOnlineStateEvent.OnlineStateEventValue c : NimOnlineStateEvent.OnlineStateEventValue.values()) System.out.println(c);
public static NimOnlineStateEvent.OnlineStateEventValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static NimOnlineStateEvent.OnlineStateEventValue getOnlineStateEventValue(int value)