public static enum KontaktDeviceConnection.State extends java.lang.Enum<KontaktDeviceConnection.State>
Enum Constant and Description |
---|
AUTHENTICATED
Reached if Authentication ended successfully and all requested
characteristics are obtained from Beacon.
|
AUTHENTICATING
Reached if Android device sent authentication password to Beacon.
|
CHARACTERISTICS_REQUESTING
Reached if Android device is awaiting for all characteristics that has
requested.
|
CONNECTED
Reached if the connection with Beacon was
established.
|
DISCONNECTED
Reached if Android device disconnected from Beacon.
|
Modifier and Type | Method and Description |
---|---|
static KontaktDeviceConnection.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KontaktDeviceConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KontaktDeviceConnection.State CONNECTED
public static final KontaktDeviceConnection.State AUTHENTICATING
public static final KontaktDeviceConnection.State CHARACTERISTICS_REQUESTING
public static final KontaktDeviceConnection.State AUTHENTICATED
public static final KontaktDeviceConnection.State DISCONNECTED
public static KontaktDeviceConnection.State[] values()
for (KontaktDeviceConnection.State c : KontaktDeviceConnection.State.values()) System.out.println(c);
public static KontaktDeviceConnection.State 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