get
Gets a (Flow of) Device with a given Identifier from a Flow of a list of Device.
Return
the Flow of Device matching the identifier
Parameters
identifier
the Identifier of the Device to get.
Gets a (Flow of) Service of a given UUID from a Flow of a list of Service
Return
the Flow of the Service with uuid in the list of Service in the given Flow
Parameters
operator fun <AttributeType : Attribute<ReadAction, WriteAction>, ReadAction : DeviceAction.Read, WriteAction : DeviceAction.Write> Flow<List<AttributeType>>.get(uuid: UUID): Flow<AttributeType?>
Gets a (Flow of) AttributeType of a given UUID from a Flow of a list of AttributeType
Return
the Flow of the AttributeType with uuid in the list of AttributeType in the given Flow
Parameters
AttributeType
the type of Attribute to get
ReadAction
the DeviceAction.Read associated with AttributeType
WriteAction
the DeviceAction.Write associated with AttributeType
uuid
the UUID of the AttributeType to get