public final class ScanResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
PAYLOAD_VERSION_1 |
static int |
TYPE_SERVICE_DATA
Specifies byte value of the type of service data.
|
static ScanResponse |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ScanResponse |
fromScanRecordBytes(byte[] scanRecord) |
static ScanResponse |
fromScanResponseBytes(byte[] scanResponse) |
int |
getBatteryPower() |
byte[] |
getBytes() |
java.lang.String |
getFirmwareVersion() |
java.lang.String |
getUniqueId() |
boolean |
isShuffled() |
public static final ScanResponse UNKNOWN
public static final int TYPE_SERVICE_DATA
public static final byte PAYLOAD_VERSION_1
public java.lang.String getFirmwareVersion()
public int getBatteryPower()
public java.lang.String getUniqueId()
public byte[] getBytes()
public boolean isShuffled()
public static ScanResponse fromScanRecordBytes(byte[] scanRecord)
public static ScanResponse fromScanResponseBytes(byte[] scanResponse)