public static enum IBeaconConnection.State extends java.lang.Enum<IBeaconConnection.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 IBeaconConnection.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IBeaconConnection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IBeaconConnection.State CONNECTED
public static final IBeaconConnection.State AUTHENTICATING
public static final IBeaconConnection.State CHARACTERISTICS_REQUESTING
public static final IBeaconConnection.State AUTHENTICATED
public static final IBeaconConnection.State DISCONNECTED
public static IBeaconConnection.State[] values()
for (IBeaconConnection.State c : IBeaconConnection.State.values()) System.out.println(c);
public static IBeaconConnection.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