GoldenGateConnectionManager / com.fitbit.goldengate.bt.gatt.scanner / BluetoothScannerCallback

BluetoothScannerCallback

class BluetoothScannerCallback : BaseFitbitGattCallback

Callback that will listen to new devices and notify the emitter when it finds one.

Parameters

emitter - The emitter on which to notify a new device was found.

Constructors

<init>

BluetoothScannerCallback(e: ObservableEmitter<GattConnection>)

Callback that will listen to new devices and notify the emitter when it finds one.

Properties

e

val e: ObservableEmitter<GattConnection>

Functions

onBluetoothPeripheralDiscovered

fun onBluetoothPeripheralDiscovered(connection: GattConnection): Unit