descriptorFlow
fun Flow<ConnectableDevice?>.descriptorFlow(serviceUUID: String, characteristicUUID: String, descriptorUUID: String): Flow<RemoteDescriptor>
Provides access to RemoteDescriptor's flow by service, characteristic, and descriptor string uuids. Only emits after services have been discovered.
Return
the Flow of the RemoteDescriptor associated with serviceUUID, characteristicUUID, and descriptorUUID. Flow throws NoSuchElementException if the descriptor cannot be found after discovery.
Parameters
serviceUUID
string service uuid representation
characteristicUUID
string characteristic uuid representation
descriptorUUID
string descriptor uuid representation
Throws
if serviceUUID, characteristicUUID, or descriptorUUID is not valid