DiscoveredDevice

data class DiscoveredDevice(val identifier: Identifier, val rssi: RSSI, val advertisementData: BaseAdvertisementData, val deviceCreator: () -> Device)

A class to add or update a Device using discoverDevices

Parameters

identifier

the Identifier of the Device discovered

rssi

the RSSI value of the Device discovered

advertisementData

the BaseAdvertisementData of the Device discovered

deviceCreator

Method for creating a Device if it had not been scanned previously.

Constructors

Link copied to clipboard
constructor(identifier: Identifier, rssi: RSSI, advertisementData: BaseAdvertisementData, deviceCreator: () -> Device)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val rssi: RSSI