public static interface BluetoothAdapter.LeScanCallback
Modifier and Type | Method and Description |
---|---|
void |
onLeScan(BluetoothDevice device,
int rssi,
byte[] scanRecord)
Callback reporting an LE device found during a device scan initiated
by the
BluetoothAdapter.startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback) function. |
void onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord)
BluetoothAdapter.startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback)
function.device
- Identifies the remote devicerssi
- The RSSI value for the remote device as reported by the
Bluetooth hardware. 0 if no RSSI value is available.scanRecord
- The content of the advertisement record offered by
the remote device.