Package io.heraldprox.herald.sensor.data
Class CalibrationLog
- java.lang.Object
-
- io.heraldprox.herald.sensor.DefaultSensorDelegate
-
- io.heraldprox.herald.sensor.data.CalibrationLog
-
- All Implemented Interfaces:
SensorDelegate
public class CalibrationLog extends DefaultSensorDelegate
-
-
Constructor Summary
Constructors Constructor Description CalibrationLog(android.content.Context context, java.lang.String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sensor(SensorType sensor, Location didVisit)
Detection of time spent at location, e.g.void
sensor(SensorType sensor, Proximity didMeasure, TargetIdentifier fromTarget, PayloadData withPayload)
Measure proximity to target with payload data.
-
-
-
Method Detail
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull Proximity didMeasure, @NonNull TargetIdentifier fromTarget, @NonNull PayloadData withPayload)
Description copied from interface:SensorDelegate
Measure proximity to target with payload data. Combines didMeasure and didRead into a single convenient delegate method- Specified by:
sensor
in interfaceSensorDelegate
- Overrides:
sensor
in classDefaultSensorDelegate
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull Location didVisit)
Description copied from interface:SensorDelegate
Detection of time spent at location, e.g. at specific restaurant between 02/06/2020 19:00 and 02/06/2020 21:00- Specified by:
sensor
in interfaceSensorDelegate
- Overrides:
sensor
in classDefaultSensorDelegate
-
-