serviceFlow

fun Flow<ConnectableDevice?>.serviceFlow(serviceUUID: String): Flow<RemoteService>

Provides access to a RemoteService by service string uuids. Only emits after services have been discovered.

Return

the Flow of the com.splendo.kaluga.bluetooth.RemoteService associated with serviceUUID. Flow throws NoSuchElementException if the service cannot be found after discovery.

Parameters

serviceUUID

string service uuid representation

Throws