OptionalpowerAdds a value to the original stream on its elapsed one-second grid and invalidates calculated interval weights. Active read filters stay enabled; their display values are not persisted.
Removes all streams
Generates a duration stream based on the type of streams requested
OptionalstreamTypes: string[]Generates a time stream based on the type of streams requested
OptionalstreamTypes: string[]Gets all the timebased events of the activity
Gets all non-unitbased streams (essential streams)
Gets all rider position change events
Gets all available streams
Gets the date index/duration from a date relative to the activity
Returns source-native FIT dive gas and tank records. These records are separate from numeric summary stats and streams, and round-trip through native activity JSON.
Returns active duration, or undefined when absent or rejected. Valid zero is retained. This excludes pauses; do not replace rejected duration with elapsed time.
Gets the laps of the activity
Returns moving time, or undefined when unavailable. Valid zero is retained.
Returns paused time, or undefined when unavailable. Valid zero is retained.
Gets the data of 2 streams (lat,long) formated as positional data
OptionalstartDate: DateOptionalendDate: DateGets the data of 2 streams (lat,long) formated as positional data but ommits nulls
OptionalstartDate: DateOptionalendDate: DateGets the data of a stream with optional params of start and end but removes nulls
OptionalstartDate: DateOptionalendDate: DateGets only the start type of events
Gets the stop all type of events
Gets only the stop type of events
Gets the data of a stream with optional params of start and end
OptionalstartDate: DateOptionalendDate: DateGets the data of the stream based on duration
OptionalfilterNull: booleanOptionalfilterInfinity: booleanGets the data of the stream based on timestamps
OptionalfilterNull: booleanGets pool swim lengths of the activity.
Returns timer time excluding pauses, or undefined when absent or rejected.
Gets the laps of the activity
Checks if there are lat,long data pairs
OptionalstartDate: DateOptionalendDate: DateChecks if the activity has a power meter
Checks if there are data for that stream type
OptionalstartDate: DateOptionalendDate: DateChecks whether the activity has pool swim length rows.
Checks if the equipment is a trainer
Replace stream data by another
Replaces source-native FIT dive gas and tank records.
Replaces pool swim lengths of the activity.
A recorded activity within an event. Activities own time-indexed streams, metrics, laps, and source metadata.