serviceOrNullFlow

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

Provides access to a RemoteService by service string uuids. Emits null if the service cannot be found.

Return

the Flow of the RemoteService associated with serviceUUID or null if the service is not available.

Parameters

serviceUUID

string service uuid representation

Throws