metrics property
Recording performance metrics.
Returns various runtime statistics for an active recording (average speed, distance, elevation gain, etc.). Available while the recorder is in RecorderStatus.recording.
Returns
- A RecordMetrics object with current recording statistics.
Also see:
- LogMetrics — Metrics persisted with a saved log.
Implementation
RecordMetrics get metrics {
final OperationResult resultString = objectMethod(
pointerId,
'Recorder',
'getMetrics',
);
return RecordMetrics.fromJson(resultString['result']);
}