Sports Lib API - v23.12.1
    Preparing search index...

    Class IBIStream

    Irregular intervals in milliseconds, optionally retaining explicit elapsed end timestamps.

    Hierarchy (View Summary)

    Index
    • Legacy arrays use cumulative timing. Explicit timestamps preserve gaps and activity offsets.

      Parameters

      • Optionaldata: (number | null)[]
      • OptionalsampleTimes: readonly number[]

      Returns IBIStream

    data: (number | null)[] = []
    filter: StreamFilterInterface | null = null
    type: string

    Type of the stream. Use a canonical Data*.type string such as Distance or Heart Rate.

    • Get's back the streams data as an array

      Parameters

      • onlyNumeric: boolean = false
      • filterInfinity: boolean = false

      Returns (number | null)[]

    • Copy of explicit elapsed end timestamps, or null for cumulative arrays.

      Returns number[] | null

    • Checks if the speed is exportable

      • It should not be speed derived stream
      • It should not be unit derived stream
      • It should not be GNSS distance and other types on blacklist

      Returns boolean

    • Replacing data invalidates previous explicit timing.

      Parameters

      • data: (number | null)[]

      Returns this