public enum PacketType extends java.lang.Enum<PacketType>
Enum Constant and Description |
---|
EDDYSTONE_EID
Eddystone EID packet.
|
EDDYSTONE_ETLM
Eddystone encrypted telemetry packet.
|
EDDYSTONE_TLM
Eddystone TLM packet.
|
EDDYSTONE_UID
Eddystone UID packet.
|
EDDYSTONE_URL
Eddystone URL packet.
|
IBEACON
iBeacon packet.
|
KONTAKT
Kontakt Secure Profile connectable packet
|
KONTAKT_TLM
Kontakt telemetry packet.
|
Modifier and Type | Method and Description |
---|---|
static PacketType |
fromShortName(java.lang.String value) |
java.lang.String |
getShortName() |
static PacketType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketType IBEACON
public static final PacketType EDDYSTONE_UID
public static final PacketType EDDYSTONE_URL
public static final PacketType EDDYSTONE_TLM
public static final PacketType EDDYSTONE_EID
public static final PacketType EDDYSTONE_ETLM
public static final PacketType KONTAKT_TLM
public static final PacketType KONTAKT
public static PacketType[] values()
for (PacketType c : PacketType.values()) System.out.println(c);
public static PacketType 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 nullpublic java.lang.String getShortName()
public static PacketType fromShortName(java.lang.String value)