Table of Contents

Class TcxDocument.TcxActivity

Namespace
Tudormobile.Strava.Documents
Assembly
Tudormobile.Strava.dll

Represents an activity in a TCX document, containing sport type, identifier, and lap data.

public class TcxDocument.TcxActivity : XmlDocumentBase.XmlDocumentElement
Inheritance
TcxDocument.TcxActivity
Inherited Members

Constructors

TcxActivity(XElement)

Initializes a new instance of the TcxDocument.TcxActivity class.

public TcxActivity(XElement activityElement)

Parameters

activityElement XElement

The XML element representing the activity.

Properties

ActivityId

Gets the activity identifier as a DateTime.

public DateTime ActivityId { get; }

Property Value

DateTime

Id

Gets the unique identifier of the activity as a string in ISO 8601 format.

public string Id { get; }

Property Value

string

Laps

Gets the collection of laps in the activity.

public IEnumerable<TcxDocument.TcxActivityLap> Laps { get; }

Property Value

IEnumerable<TcxDocument.TcxActivityLap>

Sport

Gets the sport type of the activity (e.g., "Running", "Biking").

public string Sport { get; }

Property Value

string