@pond-ts/fit API Reference
    Preparing search index...

    Class Section

    A range of an activity with its own analytics — a split, a lap, or a slice. Quantity-typed views over a SectionMetrics bundle; nothing computes here (the producer already did), so accessors are pure getters.

    Index

    Constructors

    Accessors

    • get fromSeconds(): number

      Elapsed [from, to] window into the activity, in seconds — the time anchor a contiguous Focus / range annotation maps onto.

      Returns number

    • get startMeters(): number

      Cumulative-distance window [start, end] into the activity (metres) — the anchor for a map-segment highlight, the distance-axis peer of from/toSeconds.

      Returns number

    Methods

    • Average speed — the recorded average when present, else distance ÷ moving time. undefined only when neither is available (no distance / no time).

      Returns Speed | undefined