RxFitbitGatt / com.fitbit.bluetooth.fbgatt.rx / KnownGattConnectionFinder

KnownGattConnectionFinder

class KnownGattConnectionFinder

Finds known GattConnection

Constructors

<init>

KnownGattConnectionFinder(fitbitGatt: FitbitGatt = FitbitGatt.getInstance())

Finds known GattConnection

Functions

find

fun find(names: List<String> = emptyList(), filterPredicate: (GattConnection) -> Boolean = { true }): Single<List<GattConnection>>

Finds known GattConnections matching given device names and filterPredicate filter

findByService

fun findByService(services: List<UUID>, filterPredicate: (GattConnection) -> Boolean = { true }): Single<List<GattConnection>>

Finds known GattConnections matching given remote services and filterPredicate filter