OnlyNearby
class OnlyNearby(rssiThreshold: Int = -50, @StringRes title: Int = R.string.filter_only_nearby, isInitiallySelected: Boolean = false) : Filter
Filter nearby devices based on RSSI value.
It will allow devices with RSSI value greater or equal to the given RSSI value.
Parameters
rssiThreshold
The RSSI threshold to filter nearby devices, defaults to -50 dBm.
title
The title of the filter.
isInitiallySelected
Whether the filter is initially selected, defaults to false.