Class ActivityTotal
- Namespace
- Tudormobile.Strava.Model
- Assembly
- Tudormobile.Strava.dll
Represents aggregated totals for a collection of activities of a specific type (e.g., rides, runs, swims).
public class ActivityTotal
- Inheritance
-
ActivityTotal
- Inherited Members
Remarks
This class is used to summarize multiple activities into key metrics including distance, time, elevation, and achievements. It is typically used in activity statistics to show totals over different time periods (recent, year-to-date, all-time).
Properties
AchievementCount
Gets or sets the total number of achievements earned across all activities.
public int AchievementCount { get; set; }
Property Value
Remarks
Achievements include personal records (PRs), segment achievements, and other milestones.
Count
Gets or sets the total number of activities in this aggregate.
public int Count { get; set; }
Property Value
Distance
Gets or sets the total distance covered across all activities, in meters.
public float Distance { get; set; }
Property Value
ElapsedTime
Gets or sets the total elapsed time across all activities, in seconds.
public int ElapsedTime { get; set; }
Property Value
Remarks
Elapsed time includes all pauses and stops during the activity.
ElevationGain
Gets or sets the total elevation gain across all activities, in meters.
public float ElevationGain { get; set; }
Property Value
MovingTime
Gets or sets the total moving time across all activities, in seconds.
public int MovingTime { get; set; }
Property Value
Remarks
Moving time excludes pauses and stops, representing only the time spent in motion.