RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.client / GattClientConnectionStateSetter

GattClientConnectionStateSetter

class GattClientConnectionStateSetter

Rx wrapper for SetClientConnectionStateTransaction to set GattConnection GattState

Constructors

<init>

GattClientConnectionStateSetter(transactionProvider: SetClientConnectionStateTransactionProvider = SetClientConnectionStateTransactionProvider())

Rx wrapper for SetClientConnectionStateTransaction to set GattConnection GattState

Functions

set

fun set(gattConnection: GattConnection, destinationState: GattState): Completable

Performs GATT client connection state update This assumes we are connected to the peripheral.