on New Calibration Measurement Available
abstract fun onNewCalibrationMeasurementAvailable(calibrator: C, newMeasurement: R, measurementsFoundSoFar: Int, requiredMeasurements: Int)
Called when a new measurement for calibration is found. A new measurement each time a static period finishes (when sensor measurements stop being static). When enough of these measurements are obtained, calibration can actually be solved. This listener can be used to modify each measurement as it is being collected. Notice that changes to new measurements should be done carefully as they might affect result of solved calibration.
Parameters
calibrator
calibrator that raised the event.
new Measurement
new measurement that has been found.
measurements Found So Far
number of measurements that have been found so far.
required Measurements
required number of measurements to solve calibration.