interpolate
abstract fun interpolate(currentMeasurement: MagnetometerSensorMeasurement, timestamp: Long, result: MagnetometerSensorMeasurement): Boolean
Interpolates provided current measurement.
Return
true if interpolation has been computed and result instance contains expected value, false if result of interpolation must be discarded.
Parameters
current Measurement
current measurement to be interpolated with previous ones.
result
instance where result of interpolation will be stored.
timestamp
timestamp to perform interpolation respect previous measurements.