DefaultBeacons

constructor(bluetooth: BluetoothService, beaconLifetime: Duration = 10.seconds, logger: Logger = RestrictedLogger(RestrictedLogLevel.None), coroutineContext: CoroutineContext = defaultBeaconsDispatcher)

Parameters

bluetooth

the BluetoothService managing bluetooth

beaconLifetime

the Duration during which BeaconInfo is valid

logger

the Logger to use for logging

coroutineContext

the CoroutineContext beacons are monitored on