ConsoleDataManager
A data manager that prints each Measurement as JSON to the console.
Used for testing and debugging. Selected when the protocol's data endpoint has type DataEndPointTypes.PRINT. Nothing is stored, so all data is lost when the app stops.
- Inheritance
-
- Object
- AbstractDataManager
- ConsoleDataManager
Constructors
ConsoleDataManager
Properties
type
The type of this data manager as enumerated in DataEndPointTypes.
Methods
onMeasurement
- Measurement measurement
override
On each measurement collected, the onMeasurement handler is called.
Implementations of this interface should handle how to save or upload the measurement.