Package io.heraldprox.herald.sensor.data
Class EventTimeIntervalLog
- java.lang.Object
-
- io.heraldprox.herald.sensor.DefaultSensorDelegate
-
- io.heraldprox.herald.sensor.data.EventTimeIntervalLog
-
- All Implemented Interfaces:
SensorDelegate
public class EventTimeIntervalLog extends DefaultSensorDelegate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventTimeIntervalLog.EventType
-
Constructor Summary
Constructors Constructor Description EventTimeIntervalLog(android.content.Context context, java.lang.String filename, PayloadData payloadData, EventTimeIntervalLog.EventType eventType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsensor(SensorType sensor, Location didVisit)Detection of time spent at location, e.g.voidsensor(SensorType sensor, PayloadData didRead, TargetIdentifier fromTarget)Read payload data from target, e.g.voidsensor(SensorType sensor, Proximity didMeasure, TargetIdentifier fromTarget)Measure proximity to target, e.g.voidsensor(SensorType sensor, TargetIdentifier didDetect)Detection of a target with an ephemeral identifier, e.g.voidsensor(SensorType sensor, java.util.List<PayloadData> didShare, TargetIdentifier fromTarget)Read payload data of other targets recently acquired by a target, e.g.-
Methods inherited from class io.heraldprox.herald.sensor.DefaultSensorDelegate
sensor, sensor, sensor
-
-
-
-
Constructor Detail
-
EventTimeIntervalLog
public EventTimeIntervalLog(@NonNull android.content.Context context, @NonNull java.lang.String filename, @NonNull PayloadData payloadData, @NonNull EventTimeIntervalLog.EventType eventType)
-
-
Method Detail
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull PayloadData didRead, @NonNull TargetIdentifier fromTarget)Description copied from interface:SensorDelegateRead payload data from target, e.g. encrypted device identifier from BLE peripheral after successful connection.- Specified by:
sensorin interfaceSensorDelegate- Overrides:
sensorin classDefaultSensorDelegate
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull TargetIdentifier didDetect)Description copied from interface:SensorDelegateDetection of a target with an ephemeral identifier, e.g. BLE central detecting a BLE peripheral.- Specified by:
sensorin interfaceSensorDelegate- Overrides:
sensorin classDefaultSensorDelegate
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull Proximity didMeasure, @NonNull TargetIdentifier fromTarget)Description copied from interface:SensorDelegateMeasure proximity to target, e.g. a sample of RSSI values from BLE peripheral.- Specified by:
sensorin interfaceSensorDelegate- Overrides:
sensorin classDefaultSensorDelegate
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull java.util.List<PayloadData> didShare, @NonNull TargetIdentifier fromTarget)Description copied from interface:SensorDelegateRead payload data of other targets recently acquired by a target, e.g. Android peripheral sharing payload data acquired from nearby iOS peripherals.- Specified by:
sensorin interfaceSensorDelegate- Overrides:
sensorin classDefaultSensorDelegate
-
sensor
public void sensor(@NonNull SensorType sensor, @NonNull Location didVisit)Description copied from interface:SensorDelegateDetection of time spent at location, e.g. at specific restaurant between 02/06/2020 19:00 and 02/06/2020 21:00- Specified by:
sensorin interfaceSensorDelegate- Overrides:
sensorin classDefaultSensorDelegate
-
-