DeviceDiscovered

data class DeviceDiscovered(val identifier: Identifier, val rssi: Int, val advertisementData: BaseAdvertisementData, val deviceCreator: (CoroutineContext) -> Device)

An indication a com.splendo.kaluga.bluetooth.device.Device was discovered

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard

method for creating a device if it had not yet been discovered.

Link copied to clipboard

the Identifier of the device discovered

Link copied to clipboard
val rssi: Int

the RSSI value of the device discovered