Package-level declarations
Types
Link copied to clipboard
Unique identifier of a Beacon
Link copied to clipboard
data class BeaconInfo(val identifier: Identifier, val beaconID: BeaconID, val txPower: TxPower, val rssi: RSSI, val lastSeen: KalugaDate)
Info describing a Beacon
Link copied to clipboard
interface Beacons
Scans for BeaconInfo. Only supports the Eddystone protocol
Link copied to clipboard
class DefaultBeacons(bluetooth: BluetoothService, beaconLifetime: Duration = 10.seconds, logger: Logger = RestrictedLogger(RestrictedLogLevel.None), coroutineContext: CoroutineContext = defaultBeaconsDispatcher) : Beacons, CoroutineScope
Default implementation of Beacons
Properties
Link copied to clipboard
Returns the kotlin.time.Duration since the beacon was last seen
Functions
Link copied to clipboard
Link copied to clipboard
Gets a (Flow of) BeaconInfo from the Flow of a collection of BeaconInfo
Link copied to clipboard
Link copied to clipboard
Returns the time in milliseconds since the beacon was last seen