SetMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class SetMessage : FitMessage
Set Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Set Duration
Declaration
Swift
@FitFieldDimension private(set) public var duration: Measurement<UnitDuration>? { get set }
-
Repetitions
Declaration
Swift
@FitField private(set) public var repetitions: UInt16? { get set }
-
Weight
Declaration
Swift
@FitFieldDimension private(set) public var weight: Measurement<UnitMass>? { get set }
-
Start Time of the Set
Declaration
Swift
@FitFieldTime private(set) public var startTime: FitTime? { get set }
-
Start Time of the Set
Declaration
Swift
@FitField private(set) public var category: ExerciseCategory? { get set }
-
Exercise Name
Declaration
Swift
public var exerciseName: ExerciseNameType? { get }
-
Weight Display Unit
Declaration
Swift
@FitField private(set) public var weightDisplayUnit: BaseUnitType? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Workout Step Index
Declaration
Swift
@FitField private(set) public var workoutSetpIndex: MessageIndex? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
duration: repetitions: weight: setType: startTime: category: exerciseName: weightDisplayUnit: messageIndex: workoutSetpIndex: ) Undocumented
Declaration
Swift
public init(timeStamp: FitTime? = nil, duration: Measurement<UnitDuration>? = nil, repetitions: UInt16? = nil, weight: Measurement<UnitMass>? = nil, setType: SetType? = nil, startTime: FitTime? = nil, category: ExerciseCategory? = nil, exerciseName: ExerciseNameType? = nil, weightDisplayUnit: BaseUnitType? = nil, messageIndex: MessageIndex? = nil, workoutSetpIndex: MessageIndex? = nil)