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

    Class LengthSection

    One length of the pool, as the swim watch recorded it.

    Hierarchy (View Summary)

    Index

    Properties

    distance: Distance | null

    One pool length, or null when the record doesn't give the pool.

    fromSeconds: number

    Elapsed seconds from the activity's start (the Span pair).

    kind: "length" = ...
    label: string
    number: number

    Its number among the swim's lengths, from 1.

    recorded: SwimLength

    What the file recorded.

    stroke: string | null

    The stroke the watch recognised ('freestyle', 'breaststroke', 'backstroke', 'butterfly', 'drill', 'mixed'), or null.

    strokeCount: number | null

    Strokes the watch counted over the length, or null. As reported: Garmin counts cycles of the watch arm, not every arm pull.

    toSeconds: number

    Accessors

    • get drill(): boolean

      A drill length: its stroke count, if any, is not a swimming stroke.

      Returns boolean

    Methods