@ProviderType public enum AdvertisingReportEventType extends java.lang.Enum<AdvertisingReportEventType>
Modifier and Type | Class and Description |
---|---|
static class |
AdvertisingReportEventType.DataStatus |
Modifier and Type | Method and Description |
---|---|
AdvertisingReportEventType.DataStatus |
getDataStatus() |
byte |
getEventTypeCode() |
boolean |
isConnectable() |
boolean |
isDirected() |
boolean |
isScannable() |
boolean |
isScanResponse() |
static AdvertisingReportEventType |
valueOf(byte event)
Deprecated.
since 2.2 use instead
valueOf(int event, boolean extendedReport) |
static AdvertisingReportEventType |
valueOf(int event,
boolean extendedReport) |
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 final AdvertisingReportEventType ADV_IND_EXT
public static final AdvertisingReportEventType ADV_DIRECT_IND_EXT
public static final AdvertisingReportEventType ADV_SCAN_IND_EXT
public static final AdvertisingReportEventType ADV_NONCONN_IND_EXT
public static final AdvertisingReportEventType SCAN_RSP_ADV_IND_EXT
public static final AdvertisingReportEventType SCAN_RSP_ADV_SCAN_IND_EXT
public static final AdvertisingReportEventType DATA_STATUS_COMPLETED
public static final AdvertisingReportEventType DATA_STATUS_INCOMPLETE_ONGOING
public static final AdvertisingReportEventType DATA_STATUS_INCOMPLETE_FINISHED
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 AdvertisingReportEventType.DataStatus getDataStatus()
public boolean isConnectable()
public boolean isDirected()
public boolean isScannable()
public boolean isScanResponse()
public byte getEventTypeCode()
public static AdvertisingReportEventType valueOf(int event, boolean extendedReport)
@Deprecated public static AdvertisingReportEventType valueOf(byte event)
valueOf(int event, boolean extendedReport)