public class BluetoothScanResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
payload
The payload received from the bluetooth Low Energy device.
|
int |
rssi
The received signal strength in dBm.
|
| Constructor and Description |
|---|
BluetoothScanResult(java.lang.String payload,
int rssi)
Construct a new Bluetooth Low Energy scan result.
|
public java.lang.String payload
scanRecord.getBytes() ScanRecord
E.g., for an iBeacon: 0201041aff4c00021566622e6d652f40ca9e6f6f71666163653e3a5f06c5public int rssi
ScanResult
E.g., -92public BluetoothScanResult(java.lang.String payload,
int rssi)
payload - The payload received from the bluetooth Low Energy device.
This must be the raw bluetooth Low Energy advertisement payload,
as returned by scanRecord.getBytes() ScanRecord
E.g., for an iBeacon: 0201041aff4c00021566622e6d652f40ca9e6f6f71666163653e3a5f06c5rssi - The received signal strength in dBm. ScanResult
E.g., -92