public enum EddystoneFrameType extends java.lang.Enum<EddystoneFrameType>
Enum Constant and Description |
---|
EID
The EID frame type.
|
TLM
The TLM frame type.
|
UID
The UID frame type.
|
URL
The URL frame type.
|
Modifier and Type | Method and Description |
---|---|
static EddystoneFrameType |
fromScanRecord(byte[] scanRecord)
Extracts frame type from given scan record.
|
static EddystoneFrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EddystoneFrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EddystoneFrameType UID
public static final EddystoneFrameType URL
public static final EddystoneFrameType TLM
public static final EddystoneFrameType EID
public static EddystoneFrameType[] values()
for (EddystoneFrameType c : EddystoneFrameType.values()) System.out.println(c);
public static EddystoneFrameType 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 static EddystoneFrameType fromScanRecord(byte[] scanRecord)
scanRecord
- the scan record