RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / PeripheralConnectionChangeListener

PeripheralConnectionChangeListener

class PeripheralConnectionChangeListener

Listener to observer peripheral connection state changes

Constructors

<init>

PeripheralConnectionChangeListener(serverConnectionChangeListener: GattServerConnectionChangeListener = GattServerConnectionChangeListener, clientConnectionChangeListener: GattClientConnectionChangeListener = GattClientConnectionChangeListener())

Listener to observer peripheral connection state changes

Functions

register

fun register(gattConnection: GattConnection): Observable<PeripheralConnectionStatus>

Register a listener for connection state changes for a device