Table of Contents

Class DetailedActivity

Namespace
Tudormobile.Strava.Model
Assembly
Tudormobile.Strava.dll

A detailed (full) activity record.

public class DetailedActivity : SummaryActivity
Inheritance
DetailedActivity
Inherited Members

Constructors

DetailedActivity()

Initializes a new instance of the DetailedActivity class.

public DetailedActivity()

Remarks

This constructor creates a default instance of the DetailedActivity class. Use this constructor to create an object with default values.

DetailedActivity(SummaryActivity)

Initializes a new instance of the DetailedActivity class using the data from a SummaryActivity instance.

public DetailedActivity(SummaryActivity summaryActivity)

Parameters

summaryActivity SummaryActivity

The SummaryActivity instance containing the data to initialize the DetailedActivity.

Remarks

This constructor copies the values of TotalElevationGain, StartDate, and SportType from the provided summaryActivity to initialize the corresponding properties of the DetailedActivity instance.

Properties

Commute

Gets or sets a value indicating whether this activity is a commute.

public bool Commute { get; set; }

Property Value

bool

Description

Gets or sets a description of the activity.

public string Description { get; set; }

Property Value

string

Trainer

Gets or sets a value indicating whether this activity was recorded on a training machine.

public bool Trainer { get; set; }

Property Value

bool