GoldenGateConnectionManager / com.fitbit.goldengate.bt.gatt.server.services.gattcache / GattCacheServiceHandler

GattCacheServiceHandler

class GattCacheServiceHandler

Constructors

<init>

GattCacheServiceHandler(fitbitGatt: FitbitGatt = FitbitGatt.getInstance(), gattServer: BitGattServer = BitGattServer(), gattCacheService: GattCacheService = GattCacheService(), gattCacheServiceEventListner: GattCacheServiceEventListener = GattCacheServiceEventListener())

Functions

addGattCacheService

fun addGattCacheService(): Completable

Registers the new service and its listeners This should be called by the connection manager only when bitgatt is started