WorkoutSessionMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class WorkoutSessionMessage : FitMessage
FIT Workout Session Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Sport
Declaration
Swift
@FitField private(set) public var sport: Sport? { get set }
-
Sub Sport
Declaration
Swift
@FitField private(set) public var subSport: SubSport? { get set }
-
Number of Valid Steps
Declaration
Swift
@FitField private(set) public var numberOfValidSteps: UInt16? { get set }
-
First Step Index
Declaration
Swift
@FitField private(set) public var firstStepIndex: UInt16? { get set }
-
Pool Length
Declaration
Swift
@FitFieldDimension private(set) public var poolLength: Measurement<UnitLength>? { get set }
-
Pool Length Unit
Declaration
Swift
@FitField private(set) public var poolLengthUnit: MeasurementDisplayType? { get set }
-
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, sport: Sport? = nil, subSport: SubSport? = nil, numberOfValidSteps: UInt16? = nil, firstStepIndex: UInt16? = nil, poolLength: Measurement<UnitLength>? = nil, poolLengthUnit: MeasurementDisplayType? = nil)