RecordMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class RecordMessage : FitMessage
FIT Record Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Position
Declaration
Swift
private(set) public var position: Position? { get set }
-
Altitude
Declaration
Swift
private(set) public var altitude: Measurement<UnitLength>? { get set }
-
Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var heartRate: Measurement<UnitCadence>? { get set }
-
Cadence
Declaration
Swift
@FitFieldUnit private(set) public var cadence: Measurement<UnitCadence>? { get set }
-
Distance
Declaration
Swift
@FitFieldDimension private(set) public var distance: Measurement<UnitLength>? { get set }
-
Speed
Declaration
Swift
private(set) public var speed: Measurement<UnitSpeed>? { get set }
-
Power
Declaration
Swift
@FitFieldDimension private(set) public var power: Measurement<UnitPower>? { get set }
-
Compressed Speed Distance
speed 100 * m/s + 0 distance 16 * m + 0
Declaration
Swift
@FitField private(set) public var compressedSpeedDistance: Data? { get set }
-
Grade
Declaration
Swift
@FitFieldUnit private(set) public var grade: Measurement<UnitPercent>? { get set }
-
Resistance
Relative. 0 is none 254 is Max
Declaration
Swift
@FitField private(set) public var resistance: UInt8? { get set }
-
Time From Course
Declaration
Swift
@FitFieldDimension private(set) public var timeFromCourse: Measurement<UnitDuration>? { get set }
-
Cycle Length
Declaration
Swift
@FitFieldDimension private(set) public var cycleLength: Measurement<UnitLength>? { get set }
-
Temperature
Declaration
Swift
@FitFieldDimension private(set) public var temperature: Measurement<UnitTemperature>? { get set }
-
Speed One Second Intervals
Declaration
Swift
public var speedOneSecondInterval: [Measurement<UnitSpeed>]? { get }
-
Cycles
Declaration
Swift
@FitFieldUnit private(set) public var cycles: Measurement<UnitCount>? { get set }
-
Total Cycles
Declaration
Swift
@FitFieldUnit private(set) public var totalCycles: Measurement<UnitCount>? { get set }
-
Accumulated Power
Declaration
Swift
private(set) public var accumulatedPower: Measurement<UnitPower>? { get set }
-
Undocumented
Declaration
Swift
@FitField private(set) public var leftRightBalance: LeftRightBalance? { get set }
-
GPS Accuracy
Declaration
Swift
@FitFieldDimension private(set) public var gpsAccuracy: Measurement<UnitLength>? { get set }
-
Vertical Speed
Declaration
Swift
@FitFieldDimension private(set) public var verticalSpeed: Measurement<UnitSpeed>? { get set }
-
Calories
Declaration
Swift
@FitFieldDimension private(set) public var calories: Measurement<UnitEnergy>? { get set }
-
Vertical Oscillation
Declaration
Swift
@FitFieldDimension private(set) public var verticalOscillation: Measurement<UnitLength>? { get set }
-
Stance Time
Declaration
Swift
private(set) public var stanceTime: StanceTime? { get set }
-
FIT Activity Type
Declaration
Swift
@FitField private(set) public var activity: ActivityType? { get set }
-
Torque Effectiveness
Declaration
Swift
private(set) public var torqueEffectiveness: TorqueEffectiveness? { get set }
-
Pedal Smoothness
Declaration
Swift
private(set) public var pedalSmoothness: PedalSmoothness? { get set }
-
Time 128 Second
Declaration
Swift
@FitFieldDimension private(set) public var time128Second: Measurement<UnitDuration>? { get set }
-
Zone
Declaration
Swift
@FitField private(set) public var zone: UInt8? { get set }
-
Ball Speed
Declaration
Swift
@FitFieldDimension private(set) public var ballSpeed: Measurement<UnitSpeed>? { get set }
-
Cadence 256
Declaration
Swift
@FitFieldUnit private(set) public var cadence256: Measurement<UnitCadence>? { get set }
-
Fractional Cadence
Declaration
Swift
@FitFieldUnit private(set) public var fractionalCadence: Measurement<UnitCadence>? { get set }
-
Total Hemoglobin Concentration
Declaration
Swift
@FitFieldDimension private(set) public var totalHemoglobinConcentration: Measurement<UnitConcentrationMass>? { get set }
-
Total Hemoglobin Concentration Minimum
Declaration
Swift
@FitFieldDimension private(set) public var totalHemoglobinConcentrationMin: Measurement<UnitConcentrationMass>? { get set }
-
Total Hemoglobin Concentration Maximum
Declaration
Swift
@FitFieldDimension private(set) public var totalHemoglobinConcentrationMax: Measurement<UnitConcentrationMass>? { get set }
-
Saturated Hemoglobin Percent
Declaration
Swift
@FitFieldUnit private(set) public var saturatedHemoglobinPercent: Measurement<UnitPercent>? { get set }
-
Saturated Hemoglobin Percent for Minimum and Maximum
Declaration
Swift
private(set) public var minMaxSaturatedHemoglobinPercent: HemoglobinPercent? { get set }
-
Device Index
Declaration
Swift
@FitField private(set) public var deviceIndex: DeviceIndex? { get set }
-
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 grit: Measurement<UnitFitGrit>? { get set }
-
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 flow: Measurement<UnitFitFlow>? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
position: distance: timeFromCourse: cycles: totalCycles: accumulatedPower: altitude: speed: power: leftRightBalance: gpsAccuracy: verticalSpeed: calories: verticalOscillation: stanceTime: heartRate: cadence: grade: resistance: cycleLength: temperature: activity: torqueEffectiveness: pedalSmoothness: stroke: zone: ballSpeed: fractionalCadence: saturatedHemoglobinPercent: minMaxSaturatedHemoglobinPercent: deviceIndex: grit: flow: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, position: Position? = nil, distance: Measurement<UnitLength>? = nil, timeFromCourse: Measurement<UnitDuration>? = nil, cycles: UInt8? = nil, totalCycles: UInt32? = nil, accumulatedPower: Measurement<UnitPower>? = nil, altitude: Measurement<UnitLength>? = nil, speed: Measurement<UnitSpeed>? = nil, power: Measurement<UnitPower>? = nil, leftRightBalance: LeftRightBalance? = nil, gpsAccuracy: Measurement<UnitLength>? = nil, verticalSpeed: Measurement<UnitSpeed>? = nil, calories: Measurement<UnitEnergy>? = nil, verticalOscillation: Measurement<UnitLength>? = nil, stanceTime: StanceTime? = nil, heartRate: UInt8? = nil, cadence: UInt8? = nil, grade: Measurement<UnitPercent>? = nil, resistance: UInt8? = nil, cycleLength: Measurement<UnitLength>? = nil, temperature: Measurement<UnitTemperature>? = nil, activity: ActivityType? = nil, torqueEffectiveness: TorqueEffectiveness? = nil, pedalSmoothness: PedalSmoothness? = nil, stroke: Stroke? = nil, zone: UInt8? = nil, ballSpeed: Measurement<UnitSpeed>? = nil, fractionalCadence: Float? = nil, saturatedHemoglobinPercent: Measurement<UnitPercent>? = nil, minMaxSaturatedHemoglobinPercent: HemoglobinPercent? = nil, deviceIndex: DeviceIndex? = nil, grit: Measurement<UnitFitGrit>? = nil, flow: Measurement<UnitFitFlow>? = nil)