DeviceInfo

interface DeviceInfo

Properties of a Bluetooth Device

Inheritors

Properties

Link copied to clipboard

Current BaseAdvertisementData of the Bluetooth device

Link copied to clipboard
abstract val identifier: Identifier

Identifier of the Bluetooth device

Link copied to clipboard
abstract val name: String?

Name of the Bluetooth device

Link copied to clipboard
abstract val rssi: RSSI

RSSI value of the Bluetooth device

Link copied to clipboard
abstract val updatedAt: KalugaDate

The KalugaDate at which the device last advertised an update

Functions

Link copied to clipboard
open fun distance(environmentalFactor: Double = 2.0): Double

Calculates the distance to the device in meters