public static enum LiveViewConnectionControl.ConnectionState extends java.lang.Enum<LiveViewConnectionControl.ConnectionState>
Enum Constant and Description |
---|
CONNECTED
Successfully connected to server
|
INACTIVE
Connection has been explicitly shut off via a LiveViewConnectionControl.setActive call
|
TRYING_TO_CONNECT
Trying to connect but not complete, yet.
|
WAITING
Neither connected nor attempting.
|
Modifier and Type | Method and Description |
---|---|
static LiveViewConnectionControl.ConnectionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LiveViewConnectionControl.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveViewConnectionControl.ConnectionState CONNECTED
public static final LiveViewConnectionControl.ConnectionState TRYING_TO_CONNECT
public static final LiveViewConnectionControl.ConnectionState WAITING
public static final LiveViewConnectionControl.ConnectionState INACTIVE
public static LiveViewConnectionControl.ConnectionState[] values()
for (LiveViewConnectionControl.ConnectionState c : LiveViewConnectionControl.ConnectionState.values()) System.out.println(c);
public static LiveViewConnectionControl.ConnectionState 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