public static interface BluetoothAdapter.LeScanCallback
android.bluetooth.BluetoothAdapter.LeScanCallback |
用于提供LE扫描结果的回调界面。
Public methods |
|
---|---|
abstract void |
onLeScan(BluetoothDevice device, int rssi, byte[] scanRecord) 回叫报告在 |
void onLeScan (BluetoothDevice device, int rssi, byte[] scanRecord)
回调报告在由 startLeScan(BluetoothAdapter.LeScanCallback)
功能启动的设备扫描期间发现的LE设备。
Parameters | |
---|---|
device |
BluetoothDevice : Identifies the remote device |
rssi |
int : The RSSI value for the remote device as reported by the Bluetooth hardware. 0 if no RSSI value is available. |
scanRecord |
byte : The content of the advertisement record offered by the remote device. |