PeriodicSamplingConfiguration
A sampling configuration specifying how to collect data on a regular basis for a specific period.
Every interval, data is collected for the length of duration. Useful for listening in on a sensor (e.g. the accelerometer) in regular, short time windows. See BufferingPeriodicProbe.
- Inheritance
-
- Object
- Serializable
- SamplingConfiguration
- IntervalSamplingConfiguration
- PeriodicSamplingConfiguration
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
PeriodicSamplingConfiguration.fromJson
PeriodicSamplingConfiguration
Properties
duration
getter/setter pair
How long each sampling window lasts.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
toJson
Return a JSON encoding of this object.