samplingSchemes property

  1. @override
DataTypeSamplingSchemeMap get samplingSchemes
override

The default sampling schemes for all dataTypes in this package.

All sampling packages should defined a DataTypeSamplingScheme for each data type.

Implementation

@override
DataTypeSamplingSchemeMap get samplingSchemes =>
    DataTypeSamplingSchemeMap.from([
      DataTypeSamplingScheme(DataTypeMetaData(
        type: ESENSE_BUTTON,
        displayName: "eSense Button Events",
        timeType: DataTimeType.POINT,
      )),
      DataTypeSamplingScheme(DataTypeMetaData(
        type: ESENSE_SENSOR,
        displayName: "eSense Movement Events",
        timeType: DataTimeType.TIME_SPAN,
      ))
    ]);