samplingDurationMillis property
getter/setter pair
The minimum elapsed time required before performance statistics become available.
It's important to note that the actual collection interval may exceed this duration since statistics are aggregated during render calls.
The effective collection interval can be observed through the PerformanceStatistics instance.
Setting samplingDurationMillis to 0 forces the collection of performance statistics every frame.
The value is truncated to whole milliseconds.
A sampling window closes only when the map renders a frame. A map that does not render does not deliver statistics.
A negative sampling duration is an error: MapboxMap.startPerformanceStatisticsCollection throws an
ArgumentError.
Implementation
double samplingDurationMillis;