public static enum BleUuid.UuidSize extends java.lang.Enum<BleUuid.UuidSize>
Enum Constant and Description |
---|
FULL
Full 128-bit UUID (16 bytes)
|
MEDIUM
"Medium" Uuid, which is a 32-bit UUID (4 bytes)
|
SHORT
"Short" Uuid, which is a 16-bit UUID (2 bytes)
|
Modifier and Type | Method and Description |
---|---|
int |
byteSize() |
static BleUuid.UuidSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BleUuid.UuidSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BleUuid.UuidSize SHORT
public static final BleUuid.UuidSize MEDIUM
public static final BleUuid.UuidSize FULL
public static BleUuid.UuidSize[] values()
for (BleUuid.UuidSize c : BleUuid.UuidSize.values()) System.out.println(c);
public static BleUuid.UuidSize 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 final int byteSize()