public static enum Channel.ChannelStatus extends java.lang.Enum<Channel.ChannelStatus>
Enum Constant and Description |
---|
INVITED
User has been invited to this channel.
|
JOINED
User has joined this channel.
|
NOT_PARTICIPATING
User has NOT been invited to nor joined this channel.
|
Modifier and Type | Method and Description |
---|---|
static Channel.ChannelStatus |
fromInt(int value) |
int |
getValue() |
static Channel.ChannelStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Channel.ChannelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Channel.ChannelStatus INVITED
public static final Channel.ChannelStatus JOINED
public static final Channel.ChannelStatus NOT_PARTICIPATING
public static Channel.ChannelStatus[] values()
for (Channel.ChannelStatus c : Channel.ChannelStatus.values()) System.out.println(c);
public static Channel.ChannelStatus 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 Channel.ChannelStatus fromInt(int value)