SegmentPointMessage

@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class SegmentPointMessage : FitMessage

Segment Point Message

  • FIT Message Global Number

    Declaration

    Swift

    public override class func globalMessageNumber() -> UInt16
  • Position

    Declaration

    Swift

    private(set) public var position: Position? { get set }
  • Accumulated distance along the segment at the described point

    Declaration

    Swift

    @FitFieldDimension
    private(set) public var distance: Measurement<UnitLength>? { get set }
  • Accumulated altitude along the segment at the described point

    Declaration

    Swift

    @FitFieldDimension
    private(set) public var altitude: Measurement<UnitLength>? { get set }
  • Accumualted time each leader board member required to reach the described point.

    This value is zero for all leader board members at the starting point of the segment

    Declaration

    Swift

    public var leaderTime: [Measurement<UnitDuration>]? { get }
  • Message Index

    Declaration

    Swift

    @FitField
    private(set) public var messageIndex: MessageIndex? { get set }
  • Undocumented

    Declaration

    Swift

    public required init()
  • Undocumented

    Declaration

    Swift

    public convenience init(messageIndex: MessageIndex? = nil,
                            position: Position? = nil,
                            distance: Measurement<UnitLength>? = nil,
                            altitude: Measurement<UnitLength>? = nil,
                            leaderTime: [Measurement<UnitDuration>]? = nil)