getRssi method
Get the cached RSSI value of a device.
Returns the RSSI value of device
. This value is cached and updated during scanning.
Implementation
int getRssi(BluetoothDevice device) {
return _rssis[device] ?? 0;
}
Get the cached RSSI value of a device.
Returns the RSSI value of device
. This value is cached and updated during scanning.
int getRssi(BluetoothDevice device) {
return _rssis[device] ?? 0;
}