public enum EkoChannelReadStatus extends java.lang.Enum<EkoChannelReadStatus>
Enum Constant and Description |
---|
NOT_READING |
READING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static EkoChannelReadStatus |
fromApiKey(java.lang.String apiKey) |
java.lang.String |
getApiKey() |
static EkoChannelReadStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EkoChannelReadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EkoChannelReadStatus READING
public static final EkoChannelReadStatus NOT_READING
public static final EkoChannelReadStatus UNKNOWN
public static EkoChannelReadStatus[] values()
for (EkoChannelReadStatus c : EkoChannelReadStatus.values()) System.out.println(c);
public static EkoChannelReadStatus 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 null@NonNull public java.lang.String getApiKey()
public static EkoChannelReadStatus fromApiKey(@NonNull java.lang.String apiKey)