Enum Constant and Description |
---|
ALLOWED
Authenticated, TV will respond to key codes.
|
DENIED
We are not allowed to send key codes (TV user denied this controller).
|
TIMEOUT
Control request timed out or was canceled by the TV user.
|
Modifier and Type | Method and Description |
---|---|
static TVReply |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TVReply[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TVReply ALLOWED
public static final TVReply DENIED
public static final TVReply TIMEOUT
public static TVReply[] values()
for (TVReply c : TVReply.values()) System.out.println(c);
public static TVReply 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