On Buffer Filled Listener
fun interface OnBufferFilledListener<M : SyncedSensorMeasurement, S : SensorMeasurementSyncer<M, S>>
Interface to notify when a buffer gets completely filled. When a buffer completely fills, internal collectors will stop if stopWhenFilledBuffer is true. If stopWhenFilledBuffer is false, internal collectors will continue collection at the expense of loosing old data. Consumers of this listener should decide what to do at this point (which might require stopping this syncer).
Parameters
M
type of synced measurement.
S
type of syncer.