samplingSchemes property
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: DEVICE_INFORMATION,
displayName: "Device Information",
timeType: DataTimeType.POINT,
dataEventType: DataEventType.ONE_TIME,
)),
DataTypeSamplingScheme(
CamsDataTypeMetaData(
type: FREE_MEMORY,
displayName: "Free Memory",
timeType: DataTimeType.POINT,
),
IntervalSamplingConfiguration(
interval: const Duration(minutes: 1),
)),
DataTypeSamplingScheme(CamsDataTypeMetaData(
type: BATTERY_STATE,
displayName: "Battery State",
timeType: DataTimeType.POINT,
)),
DataTypeSamplingScheme(CamsDataTypeMetaData(
type: SCREEN_EVENT,
displayName: "Screen Events",
timeType: DataTimeType.POINT,
)),
DataTypeSamplingScheme(CamsDataTypeMetaData(
type: TIMEZONE,
displayName: "Device Timezone",
timeType: DataTimeType.POINT,
dataEventType: DataEventType.ONE_TIME,
)),
]);