Video measurementLocal Memory

Overview

The On-Device Memory feature automatically stores video measurements results locally on the device, enabling historical analysis and trend tracking. Measurement results are stored separately for each user ID provided during initialization.

Accessing the history

Call getMeasurementResultsHistory() to retrieve measurements results history from local memory. If no measurement has finished successfully yet, a null value will be returned. Below is a summary of the returned structure:

class MeasurementResultsWithMetadata {
  MeasurementResults measurementResults;
  int epochTimestamp;
  bool isCalibration;
}
 
class MeasurementResultsHistory {
  List<MeasurementResultsWithMetadata?> history;
}
 
var history = await ShenaiSDK.getMeasurementResultsHistory();

;