public enum AdvertisingReportEventType extends java.lang.Enum<AdvertisingReportEventType>
Enum Constant and Description |
---|
ADV_DIRECT_IND |
ADV_IND |
ADV_NONCONN_IND |
ADV_SCAN_IND |
SCAN_RSP |
Modifier and Type | Method and Description |
---|---|
byte |
getEventTypeCode() |
static AdvertisingReportEventType |
valueOf(byte event) |
static AdvertisingReportEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvertisingReportEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvertisingReportEventType ADV_IND
public static final AdvertisingReportEventType ADV_DIRECT_IND
public static final AdvertisingReportEventType ADV_SCAN_IND
public static final AdvertisingReportEventType ADV_NONCONN_IND
public static final AdvertisingReportEventType SCAN_RSP
public static AdvertisingReportEventType[] values()
for (AdvertisingReportEventType c : AdvertisingReportEventType.values()) System.out.println(c);
public static AdvertisingReportEventType 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 getEventTypeCode()
public static AdvertisingReportEventType valueOf(byte event)