-
@FunctionalInterface() public interface RssiCallback
-
-
Method Summary
Modifier and Type Method Description abstract voidonRssiRead(@NonNull() BluetoothDevice device, @IntRange(from = -128, to = 20) int rssi)Method called when the RSSI value has been read. -
-
Method Detail
-
onRssiRead
abstract void onRssiRead(@NonNull() BluetoothDevice device, @IntRange(from = -128, to = 20) int rssi)
Method called when the RSSI value has been read.
- Parameters:
device- the target device.rssi- the current RSSI value, in dBm.
-
-
-
-