Accumulated Measurement Estimator
constructor(context: Context, sensorDelay: SensorDelay = SensorDelay.FASTEST, maxSamples: Int = DEFAULT_MAX_SAMPLES, maxDurationMillis: Long = DEFAULT_MAX_DURATION_MILLIS, stopMode: StopMode = StopMode.MAX_SAMPLES_OR_DURATION, completedListener: AccumulatedMeasurementEstimator.OnEstimationCompletedListener<A>? = null, unreliableListener: AccumulatedMeasurementEstimator.OnUnreliableListener<A>? = null)
Parameters
max Samples
Maximum number of samples to take into account before completion. This is only taken into account if using either StopMode.MAX_SAMPLES_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
max Duration Millis
Maximum duration expressed in milliseconds to take into account before completion. This is only taken into account if using either StopMode.MAX_DURATION_ONLY or StopMode.MAX_SAMPLES_OR_DURATION.
stop Mode
Determines when this estimator will consider its estimation completed.