serviceOrNullFlow

The Flow of the RemoteService for serviceUUID of this ConnectableDevice, or null if not available.

Return

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

Parameters

serviceUUID

string service uuid representation

Throws


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