WorkoutStepMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class WorkoutStepMessage : FitMessage
FIT Workout Step Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Workout Step Name
Declaration
Swift
@FitField private(set) public var name: String? { get set }
-
Durationm Type
Declaration
Swift
@FitField private(set) public var durationType: WorkoutStepDurationType? { get set }
-
Duration
Declaration
Swift
@FitField private(set) public var duration: UInt32? { get set }
-
Target Type
Declaration
Swift
@FitField private(set) public var targetType: WorkoutStepTargetType? { get set }
-
Target
Declaration
Swift
@FitField private(set) public var target: UInt32? { get set }
-
Target Value Low
Declaration
Swift
@FitField private(set) public var targetLow: UInt32? { get set }
-
Target Value High
Declaration
Swift
@FitField private(set) public var targetHigh: UInt32? { get set }
-
Notes
Declaration
Swift
@FitField private(set) public var notes: String? { get set }
-
Equipment
Declaration
Swift
@FitField private(set) public var equipment: WorkoutEquipment? { get set }
-
Exercise Category
Declaration
Swift
@FitField private(set) public var category: ExerciseCategory? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(messageIndex:
name: duration: durationType: target: targetLow: targetHigh: targetType: category: intensity: notes: equipment: ) Undocumented
Declaration
Swift
public convenience init(messageIndex: MessageIndex? = nil, name: String? = nil, duration: UInt32? = nil, durationType: WorkoutStepDurationType? = nil, target: UInt32? = nil, targetLow: UInt32? = nil, targetHigh: UInt32? = nil, targetType: WorkoutStepTargetType? = nil, category: ExerciseCategory? = nil, intensity: Intensity? = nil, notes: String? = nil, equipment: WorkoutEquipment? = nil)