LapMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class LapMessage : FitMessage
FIT Lap Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Start Time
Declaration
Swift
@FitFieldTime private(set) public var startTime: FitTime? { get set }
-
Start Position
Declaration
Swift
private(set) public var startPosition: Position? { get set }
-
End Position
Declaration
Swift
private(set) public var endPosition: Position? { get set }
-
Total Elapsed Time
Includes pauses
Declaration
Swift
@FitFieldDimension private(set) public var totalElapsedTime: Measurement<UnitDuration>? { get set }
-
Total Timer Time
Excludes pauses
Declaration
Swift
@FitFieldDimension private(set) public var totalTimerTime: Measurement<UnitDuration>? { get set }
-
Total Distance
Declaration
Swift
@FitFieldDimension private(set) public var totalDistance: Measurement<UnitLength>? { get set }
-
Total Cycles
Declaration
Swift
@FitFieldUnit private(set) public var totalCycles: Measurement<UnitCount>? { get set }
-
Total Calories
Declaration
Swift
@FitFieldDimension private(set) public var totalCalories: Measurement<UnitEnergy>? { get set }
-
Total Fat Calories
Declaration
Swift
@FitFieldDimension private(set) public var totalFatCalories: Measurement<UnitEnergy>? { get set }
-
Average Speed
Declaration
Swift
private(set) public var averageSpeed: Measurement<UnitSpeed>? { get set }
-
Maximum Speed
Declaration
Swift
private(set) public var maximumSpeed: Measurement<UnitSpeed>? { get set }
-
Average Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var averageHeartRate: Measurement<UnitCadence>? { get set }
-
Maximum Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var maximumHeartRate: Measurement<UnitCadence>? { get set }
-
Average Cadence
If nil you can use totalCycles / totalTimerTime
Declaration
Swift
@FitFieldUnit private(set) public var averageCadence: Measurement<UnitCadence>? { get set }
-
Maximum Cadence
Declaration
Swift
@FitFieldUnit private(set) public var maximumCadence: Measurement<UnitCadence>? { get set }
-
Average Power
If nil you can use totalPower / totalTimerTime
Declaration
Swift
@FitFieldDimension private(set) public var averagePower: Measurement<UnitPower>? { get set }
-
Maximum Power
Declaration
Swift
@FitFieldDimension private(set) public var maximumPower: Measurement<UnitPower>? { get set }
-
Total Ascent
Declaration
Swift
@FitFieldDimension private(set) public var totalAscent: Measurement<UnitLength>? { get set }
-
Total Descent
Declaration
Swift
@FitFieldDimension private(set) public var totalDescent: Measurement<UnitLength>? { get set }
-
Lap Trigger
Declaration
Swift
@FitField private(set) public var lapTrigger: LapTrigger? { get set }
-
Sport
Declaration
Swift
@FitField private(set) public var sport: Sport? { get set }
-
Event Group
Declaration
Swift
@FitField private(set) public var eventGroup: UInt8? { get set }
-
Number of Lengths
Number of lengths of swim pool
Declaration
Swift
@FitFieldUnit private(set) public var lengths: Measurement<UnitCount>? { get set }
-
Normalized Power
Declaration
Swift
@FitFieldDimension private(set) public var normalizedPower: Measurement<UnitPower>? { get set }
-
Left Right Balance scaled by 100
Declaration
Swift
@FitField private(set) public var leftRightBalance: LeftRightBalance100? { get set }
-
First Length Index
Declaration
Swift
@FitField private(set) public var firstLengthIndex: UInt16? { get set }
-
Average Stroke Distance
Declaration
Swift
@FitFieldDimension private(set) public var averageStrokeDistance: Measurement<UnitLength>? { get set }
-
Swim Stroke
Declaration
Swift
@FitField private(set) public var swimStroke: SwimStroke? { get set }
-
Sub Sport
Declaration
Swift
@FitField private(set) public var subSport: SubSport? { get set }
-
Number of Active Lengths
Number of active lengths of swim pool
Declaration
Swift
@FitFieldUnit private(set) public var activeLengths: Measurement<UnitCount>? { get set }
-
Total Work
Declaration
Swift
@FitFieldDimension private(set) public var totalWork: Measurement<UnitEnergy>? { get set }
-
Average Altitude
Declaration
Swift
private(set) public var averageAltitude: Measurement<UnitLength>? { get set }
-
Maximum Altitude
Declaration
Swift
private(set) public var maximumAltitude: Measurement<UnitLength>? { get set }
-
GPS Accuracy
Declaration
Swift
@FitFieldDimension private(set) public var gpsAccuracy: Measurement<UnitLength>? { get set }
-
Average Grade
Declaration
Swift
@FitFieldUnit private(set) public var averageGrade: Measurement<UnitPercent>? { get set }
-
Average Positive Grade
Declaration
Swift
@FitFieldUnit private(set) public var averagePositiveGrade: Measurement<UnitPercent>? { get set }
-
Average Negitive Grade
Declaration
Swift
@FitFieldUnit private(set) public var averageNegitiveGrade: Measurement<UnitPercent>? { get set }
-
Maximum Positive Grade
Declaration
Swift
@FitFieldUnit private(set) public var maximumPositiveGrade: Measurement<UnitPercent>? { get set }
-
Maximum Negitive Grade
Declaration
Swift
@FitFieldUnit private(set) public var maximumNegitiveGrade: Measurement<UnitPercent>? { get set }
-
Average Temperature
Declaration
Swift
@FitFieldDimension private(set) public var averageTemperature: Measurement<UnitTemperature>? { get set }
-
Maximum Temperature
Declaration
Swift
@FitFieldDimension private(set) public var maximumTemperature: Measurement<UnitTemperature>? { get set }
-
Total Moving Time
Declaration
Swift
@FitFieldDimension private(set) public var totalMovingTime: Measurement<UnitDuration>? { get set }
-
Average Positive Vertical Speed
Declaration
Swift
@FitFieldDimension private(set) public var averagePositiveVerticalSpeed: Measurement<UnitSpeed>? { get set }
-
Average Negitive Vertical Speed
Declaration
Swift
@FitFieldDimension private(set) public var averageNegitiveVerticalSpeed: Measurement<UnitSpeed>? { get set }
-
Maximum Positive Vertical Speed
Declaration
Swift
@FitFieldDimension private(set) public var maximumPositiveVerticalSpeed: Measurement<UnitSpeed>? { get set }
-
Maximum Negitive Vertical Speed
Declaration
Swift
@FitFieldDimension private(set) public var maximumNegitiveVerticalSpeed: Measurement<UnitSpeed>? { get set }
-
Time in HeartRate Zone
Declaration
Swift
@FitFieldDimension private(set) public var timeInHrZone: Measurement<UnitDuration>? { get set }
-
Time in Speed Zone
Declaration
Swift
@FitFieldDimension private(set) public var timeInSpeedZone: Measurement<UnitDuration>? { get set }
-
Time in Cadence Zone
Declaration
Swift
@FitFieldDimension private(set) public var timeInCadenceZone: Measurement<UnitDuration>? { get set }
-
Time in Power Zone
Declaration
Swift
@FitFieldDimension private(set) public var timeInPowerZone: Measurement<UnitDuration>? { get set }
-
Repetion Number
Declaration
Swift
@FitField private(set) public var repetionNumber: UInt16? { get set }
-
Minimum Altitude
Declaration
Swift
private(set) public var minimumAltitude: Measurement<UnitLength>? { get set }
-
Minimum Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var minimumHeartRate: Measurement<UnitCadence>? { get set }
-
Workout Step Index
Declaration
Swift
@FitField private(set) public var workoutStepIndex: MessageIndex? { get set }
-
Score Information
Include Opponent Score, Player Score
Declaration
Swift
private(set) public var score: Score? { get set }
-
Stroke Count
Declaration
Swift
@FitFieldUnit private(set) public var strokeCount: Measurement<UnitCount>? { get set }
-
Zone Count
Declaration
Swift
@FitFieldUnit private(set) public var zoneCount: Measurement<UnitCount>? { get set }
-
Average Vertical Oscillation
Declaration
Swift
@FitFieldDimension private(set) public var averageVerticalOscillation: Measurement<UnitLength>? { get set }
-
Average Stance Time
Declaration
Swift
private(set) public var averageStanceTime: StanceTime? { get set }
-
Average Fractional Cadence
Declaration
Swift
@FitFieldUnit private(set) public var averageFractionalCadence: Measurement<UnitCadence>? { get set }
-
Maximum Fractional Cadence
Declaration
Swift
@FitFieldUnit private(set) public var maximumFractionalCadence: Measurement<UnitCadence>? { get set }
-
Total Fractional Cadence
Declaration
Swift
@FitFieldUnit private(set) public var totalFractionalCadence: Measurement<UnitCount>? { get set }
-
Average Total Hemoglobin Concentration
Declaration
Swift
@FitFieldDimension private(set) public var averageTotalHemoglobinConcentration: Measurement<UnitConcentrationMass>? { get set }
-
Minimum Total Hemoglobin Concentration
Declaration
Swift
@FitFieldDimension private(set) public var minimumTotalHemoglobinConcentration: Measurement<UnitConcentrationMass>? { get set }
-
Maximum Total Hemoglobin Concentration
Declaration
Swift
@FitFieldDimension private(set) public var maximumTotalHemoglobinConcentration: Measurement<UnitConcentrationMass>? { get set }
-
Average Saturated Hemoglobin Percent
Declaration
Swift
@FitFieldUnit private(set) public var averageSaturatedHemoglobinPercent: Measurement<UnitPercent>? { get set }
-
Saturated Hemoglobin Percent
Declaration
Swift
private(set) public var saturatedHemoglobinPercent: HemoglobinPercent? { get set }
-
Average Torque Effectiveness
Declaration
Swift
private(set) public var averageTorqueEffectiveness: TorqueEffectiveness? { get set }
-
Average Pedal Smoothness
Declaration
Swift
private(set) public var averagePedalSmoothness: PedalSmoothness? { get set }
-
Time Standing
Declaration
Swift
@FitFieldDimension private(set) public var timeStanding: Measurement<UnitDuration>? { get set }
-
Stand Count
Declaration
Swift
@FitField private(set) public var standCount: UInt16? { get set }
-
Average Step Length
Declaration
Swift
@FitFieldDimension private(set) public var averageStepLength: Measurement<UnitLength>? { get set }
-
Velocità Ascensionale Media
VAM - Average Ascent Speed
Declaration
Swift
@FitFieldDimension private(set) public var averageAscentSpeed: Measurement<UnitSpeed>? { get set }
-
Total Grit
The grit score estimates how challenging a route could be for a cyclist in terms of time spent going over sharp turns or large grade slopes
Declaration
Swift
@FitFieldUnit private(set) public var totalGrit: Measurement<UnitFitGrit>? { get set }
-
Total Flow
The flow score estimates how long distance wise a cyclist deaccelerates over intervals where deacceleration is unnecessary such as smooth turns or small grade angle intervals
Declaration
Swift
@FitFieldUnit private(set) public var totalFlow: Measurement<UnitFitFlow>? { get set }
-
Jump Count
Declaration
Swift
@FitFieldUnit private(set) public var jumpCount: Measurement<UnitCount>? { get set }
-
Average Grit
The grit score estimates how challenging a route could be for a cyclist in terms of time spent going over sharp turns or large grade slopes
Declaration
Swift
@FitFieldUnit private(set) public var averageGrit: Measurement<UnitFitGrit>? { get set }
-
Average Flow
The flow score estimates how long distance wise a cyclist deaccelerates over intervals where deacceleration is unnecessary such as smooth turns or small grade angle intervals
Declaration
Swift
@FitFieldUnit private(set) public var averageFlow: Measurement<UnitFitFlow>? { get set }
-
Timestamp
Lap end time
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
messageIndex: event: eventType: startTime: startPosition: endPosition: totalElapsedTime: totalTimerTime: totalDistance: totalCycles: totalCalories: totalFatCalories: averageSpeed: maximumSpeed: averageHeartRate: maximumHeartRate: averageCadence: maximumCadence: averagePower: maximumPower: totalAscent: totalDescent: intensity: lapTrigger: sport: subSport: eventGroup: lengths: normalizedPower: leftRightBalance: firstLengthIndex: averageStrokeDistance: swimStroke: activeLengths: totalWork: averageAltitude: maximumAltitude: gpsAccuracy: averageGrade: averagePositiveGrade: averageNegitiveGrade: maximumPositiveGrade: maximumNegitiveGrade: averageTemperature: maximumTemperature: totalMovingTime: averagePositiveVerticalSpeed: averageNegitiveVerticalSpeed: maximumPositiveVerticalSpeed: maximumNegitiveVerticalSpeed: repetionNumber: minimumAltitude: minimumHeartRate: workoutStepIndex: score: strokeCount: zoneCount: averageVerticalOscillation: averageStanceTime: averageSaturatedHemoglobinPercent: saturatedHemoglobinPercent: averageTorqueEffectiveness: averagePedalSmoothness: timeStanding: standCount: averageStepLength: averageAscentSpeed: totalGrit: totalFlow: jumpCount: averageGrit: averageFlow: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, messageIndex: MessageIndex? = nil, event: Event? = nil, eventType: EventType? = nil, startTime: FitTime? = nil, startPosition: Position? = nil, endPosition: Position? = nil, totalElapsedTime: Measurement<UnitDuration>? = nil, totalTimerTime: Measurement<UnitDuration>? = nil, totalDistance: Measurement<UnitLength>? = nil, totalCycles: UInt32? = nil, totalCalories: Measurement<UnitEnergy>? = nil, totalFatCalories: Measurement<UnitEnergy>? = nil, averageSpeed: Measurement<UnitSpeed>? = nil, maximumSpeed: Measurement<UnitSpeed>? = nil, averageHeartRate: UInt8? = nil, maximumHeartRate: UInt8? = nil, averageCadence: UInt8? = nil, maximumCadence: UInt8? = nil, averagePower: Measurement<UnitPower>? = nil, maximumPower: Measurement<UnitPower>? = nil, totalAscent: Measurement<UnitLength>? = nil, totalDescent: Measurement<UnitLength>? = nil, intensity: Intensity? = nil, lapTrigger: LapTrigger? = nil, sport: Sport? = nil, subSport: SubSport? = nil, eventGroup: UInt8? = nil, lengths: UInt16? = nil, normalizedPower: Measurement<UnitPower>? = nil, leftRightBalance: LeftRightBalance100? = nil, firstLengthIndex: UInt16? = nil, averageStrokeDistance: Measurement<UnitLength>? = nil, swimStroke: SwimStroke? = nil, activeLengths: UInt16? = nil, totalWork: Measurement<UnitEnergy>? = nil, averageAltitude: Measurement<UnitLength>? = nil, maximumAltitude: Measurement<UnitLength>? = nil, gpsAccuracy: Measurement<UnitLength>? = nil, averageGrade: Measurement<UnitPercent>? = nil, averagePositiveGrade: Measurement<UnitPercent>? = nil, averageNegitiveGrade: Measurement<UnitPercent>? = nil, maximumPositiveGrade: Measurement<UnitPercent>? = nil, maximumNegitiveGrade: Measurement<UnitPercent>? = nil, averageTemperature: Measurement<UnitTemperature>? = nil, maximumTemperature: Measurement<UnitTemperature>? = nil, totalMovingTime: Measurement<UnitDuration>? = nil, averagePositiveVerticalSpeed: Measurement<UnitSpeed>? = nil, averageNegitiveVerticalSpeed: Measurement<UnitSpeed>? = nil, maximumPositiveVerticalSpeed: Measurement<UnitSpeed>? = nil, maximumNegitiveVerticalSpeed: Measurement<UnitSpeed>? = nil, repetionNumber: UInt16? = nil, minimumAltitude: Measurement<UnitLength>? = nil, minimumHeartRate: UInt8? = nil, workoutStepIndex: MessageIndex? = nil, score: Score? = nil, strokeCount: UInt16? = nil, zoneCount: UInt16? = nil, averageVerticalOscillation: Measurement<UnitLength>? = nil, averageStanceTime: StanceTime? = nil, averageSaturatedHemoglobinPercent: Measurement<UnitPercent>? = nil, saturatedHemoglobinPercent: HemoglobinPercent? = nil, averageTorqueEffectiveness: TorqueEffectiveness? = nil, averagePedalSmoothness: PedalSmoothness? = nil, timeStanding: Measurement<UnitDuration>? = nil, standCount: UInt16? = nil, averageStepLength: Measurement<UnitLength>? = nil, averageAscentSpeed: Measurement<UnitSpeed>? = nil, totalGrit: Measurement<UnitFitGrit>? = nil, totalFlow: Measurement<UnitFitFlow>? = nil, jumpCount: UInt16? = nil, averageGrit: Measurement<UnitFitGrit>? = nil, averageFlow: Measurement<UnitFitFlow>? = nil)