Creates a LogMetrics object with the specified metric values.
API users typically do not create LogMetrics instances directly.
The total distance traveled in meters.
The total elevation gain in meters.
The average speed in meters per second.
ReadonlyavgThe average speed, in meters per second.
ReadonlydistanceThe total distance traveled, in meters.
ReadonlyelevationThe total elevation gain, in meters.
StaticfromInternalDeserializes a JSON-compatible object to create a LogMetrics instance.
Used internally, not intended for direct use by consumers. The expected object structure may change without notice.
Provides metrics about a recorded log, such as distance, elevation gain, and average speed.
These metrics are typically retrieved from a LogMetadata instance and represent summary information for a saved recording.
See