RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.scanner / DeviceNamePeripheralScannerFilter

DeviceNamePeripheralScannerFilter

class DeviceNamePeripheralScannerFilter : PeripheralScannerFilter

Add a single filter for scanning peripheral by device name

Parameters

deviceName - device name to add for scanning filter

Constructors

<init>

DeviceNamePeripheralScannerFilter(deviceName: String)

Add a single filter for scanning peripheral by device name

Functions

add

fun add(fitbitGatt: FitbitGatt): Unit

Add filter, implementation is expected to call one of the add** filter method exposed on FitbitGatt