public enum AdvertisingReportPhy extends java.lang.Enum<AdvertisingReportPhy>
Modifier and Type | Method and Description |
---|---|
byte |
getPhyCode() |
static AdvertisingReportPhy |
valueOf(byte phy) |
static AdvertisingReportPhy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvertisingReportPhy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvertisingReportPhy NONE
public static final AdvertisingReportPhy LE_1M
public static final AdvertisingReportPhy LE_2M
public static final AdvertisingReportPhy LE_CODED
public static AdvertisingReportPhy[] values()
for (AdvertisingReportPhy c : AdvertisingReportPhy.values()) System.out.println(c);
public static AdvertisingReportPhy 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 byte getPhyCode()
public static AdvertisingReportPhy valueOf(byte phy)