WeightScaleMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class WeightScaleMessage : FitMessage
FIT Weight Scale Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Percent Fat
Declaration
Swift
@FitFieldUnit private(set) public var percentFat: Measurement<UnitPercent>? { get set }
-
Percent Hydration
Declaration
Swift
@FitFieldUnit private(set) public var percentHydration: Measurement<UnitPercent>? { get set }
-
Visceral Fat Mass
Declaration
Swift
@FitFieldDimension private(set) public var visceralFatMass: Measurement<UnitMass>? { get set }
-
Bone Mass
Declaration
Swift
@FitFieldDimension private(set) public var boneMass: Measurement<UnitMass>? { get set }
-
Muscle Mass
Declaration
Swift
@FitFieldDimension private(set) public var muscleMass: Measurement<UnitMass>? { get set }
-
Basal MET
Units are per day
Declaration
Swift
@FitFieldDimension private(set) public var basalMet: Measurement<UnitEnergy>? { get set }
-
Physique Rating
Declaration
Swift
@FitFieldUnit private(set) public var physiqueRating: Measurement<RatingUnit>? { get set }
-
Active MET
Units are per day
Declaration
Swift
@FitFieldDimension private(set) public var activeMet: Measurement<UnitEnergy>? { get set }
-
Metabolic Age
Declaration
Swift
@FitFieldDimension private(set) public var metabolicAge: Measurement<UnitDuration>? { get set }
-
Visceral Fat Rating
Declaration
Swift
@FitFieldUnit private(set) public var visceralFatRating: Measurement<RatingUnit>? { get set }
-
User Profile Index
Associates this blood pressure message to a user. This corresponds to the index of the user profile message in the blood pressure file.
Declaration
Swift
@FitField private(set) public var userProfileIndex: MessageIndex? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
weight: percentFat: percentHydration: visceralFatMass: boneMass: muscleMass: basalMet: physiqueRating: activeMet: metabolicAge: visceralFatRating: userProfileIndex: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, weight: Weight? = nil, percentFat: Measurement<UnitPercent>? = nil, percentHydration: Measurement<UnitPercent>? = nil, visceralFatMass: Measurement<UnitMass>? = nil, boneMass: Measurement<UnitMass>? = nil, muscleMass: Measurement<UnitMass>? = nil, basalMet: Measurement<UnitEnergy>? = nil, physiqueRating: UInt8? = nil, activeMet: Measurement<UnitEnergy>? = nil, metabolicAge: Measurement<UnitDuration>? = nil, visceralFatRating: UInt8? = nil, userProfileIndex: MessageIndex? = nil)