Class StreamBase
- Namespace
- Tudormobile.Strava.Model
- Assembly
- Tudormobile.Strava.dll
Base class for all Strava stream types, providing common stream metadata properties.
public class StreamBase
- Inheritance
-
StreamBase
- Derived
- Inherited Members
Remarks
Streams represent time-series data associated with an activity, such as GPS coordinates, altitude, heart rate, etc. This base class defines the common metadata for all stream types.
Properties
OriginalSize
Gets or sets the original size of the stream data.
public long OriginalSize { get; set; }
Property Value
Remarks
Represents the number of data points in the original stream as returned by the Strava API.
Resolution
Gets or sets the resolution of the stream (e.g., "low", "medium", "high").
public string Resolution { get; set; }
Property Value
Remarks
The resolution indicates the level of detail in the stream data.
SeriesType
Gets or sets the series type for the stream (e.g., "distance", "time").
public string SeriesType { get; set; }
Property Value
Remarks
Indicates how the stream data is indexed or sampled.
Type
Gets or sets the type of stream (e.g., "time", "latlng", "distance", "altitude", "velocity_smooth", "heartrate", "cadence", "watts", "temp", "moving", "grade_smooth").
public string Type { get; set; }
Property Value
Remarks
The type determines the kind of data contained in the stream.