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(CamsDataTypeMetaData(
        type: SURVEY,
        displayName: "User Survey",
        timeType: DataTimeType.POINT,
        dataEventType: DataEventType.ONE_TIME,
      )),
    ]);