LocationBeaconsDataSource
open class LocationBeaconsDataSource(context: Context, parentPlaceId: String?, beaconManager: BeaconManager = BeaconManager.getInstanceForApplication(context), beaconSimulationIds: List<String>? = null)Class for stream the beacons collected from the bluetooth sensors.
Constructors
LocationBeaconsDataSource | constructor(context: Context , parentPlaceId: String ?, beaconManager: BeaconManager = BeaconManager.getInstanceForApplication(context), beaconSimulationIds: List <String >? = null) |
Properties
locationsSource
open val locationsSource: Flow<LzLocation?>Types: LzLocation
Main flow of beacon-based locations. The processing pipeline for each scan cycle is:
Functions
setCurrentSimulatedBeacons
fun setCurrentSimulatedBeacons(targetList: List<String>)Set the beacons for simulate
startScanning
fun startScanning(notifier: RangeNotifier)@RequiresApi (value = 23)
stopScanning
fun stopScanning(notifier: RangeNotifier)Last updated on