GoldenGateConnectionManager / com.fitbit.goldengate.bt.gatt.server.services.gattlink.listeners / TransmitCharacteristicSubscriptionListener

TransmitCharacteristicSubscriptionListener

class TransmitCharacteristicSubscriptionListener : BaseServerConnectionEventListener

GATT service listener that listens to subscription changes to Gattlink service Tx characteristic. Subscription changes are available per remote connected device

Note: This Singleton listener must be registered at the time Gattlink service is added

Functions

getDataObservable

fun getDataObservable(device: BluetoothDevice): Observable<GattCharacteristicSubscriptionStatus>

Observable on which changes to Gattlink service subscription is available

onServerDescriptorWriteRequest

fun onServerDescriptorWriteRequest(device: BluetoothDevice, result: TransactionResult, connection: GattServerConnection): Unit

Companion Object Properties

instance

val instance: TransmitCharacteristicSubscriptionListener