RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx.server / ServerTransactionProvider

ServerTransactionProvider

class ServerTransactionProvider

Provides bitgatt transactions for gatt-server related operations. This interface is so alternative implementations, like mocking for testing.

Constructors

<init>

ServerTransactionProvider()

Provides bitgatt transactions for gatt-server related operations. This interface is so alternative implementations, like mocking for testing.

Functions

getAddServicesTransaction

fun getAddServicesTransaction(gattConnection: GattServerConnection, service: BluetoothGattService): AddGattServerServiceTransaction

Provides a bitgatt add services transaction, which will add services (and the containing characteristics) to the gatt server.