BeaconRangingPeriodicSamplingConfiguration
A sampling configuration specifying how to scan for iBeacon devices.
Used with the ConnectivitySamplingPackage.BEACON measure. The regions of the beacons to monitor are specified in the beaconRegions list. Only beacons within beaconDistance meters (default 2) are reported.
- Inheritance
-
- Object
- Serializable
- SamplingConfiguration
- BeaconRangingPeriodicSamplingConfiguration
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
BeaconRangingPeriodicSamplingConfiguration.fromJson
BeaconRangingPeriodicSamplingConfiguration
- List<
BeaconRegion> beaconRegions = const [], - int beaconDistance = 2,
Properties
beaconDistance
getter/setter pair
The distance in meters to consider a beacon as "in range". Default is 2.
beaconRegions
getter/setter pair
List of beacon regions to monitor and range.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
toJson
Return a JSON encoding of this object.