RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / com.fitbit.bluetooth.fbgatt.GattServerConnection / getGattService

getGattService

fun GattServerConnection.getGattService(serviceUUID: UUID): Single<BluetoothGattService>

Emit a BluetoothGattService if the service is found

Exceptions

GattServiceNotFoundException - if service is NOT found

GattServerNotFoundException - if GATT server is NOT available