UserProfileMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class UserProfileMessage : FitMessage
FIT File User Profile Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Friendly Name
Declaration
Swift
@FitField private(set) public var friendlyName: String? { get set }
-
Gender
Declaration
Swift
@FitField private(set) public var gender: Gender? { get set }
-
Age in Years
Declaration
Swift
@FitFieldDimension private(set) public var age: Measurement<UnitDuration>? { get set }
-
Height
Declaration
Swift
@FitFieldDimension private(set) public var height: Measurement<UnitLength>? { get set }
-
Weight
Declaration
Swift
@FitFieldDimension private(set) public var weight: Measurement<UnitMass>? { get set }
-
Elevation Settings
Declaration
Swift
@FitField private(set) public var elevationSetting: MeasurementDisplayType? { get set }
-
Weight Settings
Declaration
Swift
@FitField private(set) public var weightSetting: MeasurementDisplayType? { get set }
-
Resting Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var restingHeartRate: Measurement<UnitCadence>? { get set }
-
Max Running Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var maxRunningHeartRate: Measurement<UnitCadence>? { get set }
-
Max Biking Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var maxBikingHeartRate: Measurement<UnitCadence>? { get set }
-
Max Heart Rate
Declaration
Swift
@FitFieldUnit private(set) public var maxHeartRate: Measurement<UnitCadence>? { get set }
-
Heartrate Display Setting
Declaration
Swift
@FitField private(set) public var heartRateSetting: HeartRateDisplayType? { get set }
-
Speed Setting
Declaration
Swift
@FitField private(set) public var speedSetting: MeasurementDisplayType? { get set }
-
Distance Setting
Declaration
Swift
@FitField private(set) public var distanceSetting: PositionDisplayType? { get set }
-
Power Setting
Declaration
Swift
@FitField private(set) public var powerSetting: PowerDisplayType? { get set }
-
Undocumented
Declaration
Swift
@FitField private(set) public var activityClass: UInt8? { get set }
-
Position Setting
Declaration
Swift
@FitField private(set) public var positionSetting: PositionDisplayType? { get set }
-
Temperature Setting
Declaration
Swift
@FitField private(set) public var temperatureSetting: MeasurementDisplayType? { get set }
-
Local ID
Declaration
Swift
@FitField private(set) public var localId: UInt16? { get set }
-
Global ID
Declaration
Swift
@FitField private(set) public var globalId: Data? { get set }
-
Height Setting
Declaration
Swift
@FitField private(set) public var heightSetting: MeasurementDisplayType? { get set }
-
Running Step Length
User defined running step length set to 0 for auto length
Declaration
Swift
@FitFieldDimension private(set) public var runningStepLength: Measurement<UnitLength>? { get set }
-
Walking Step Length
User defined step length set to 0 for auto length
Declaration
Swift
@FitFieldDimension private(set) public var walkingStepLength: Measurement<UnitLength>? { get set }
-
Timestamp
Declaration
Swift
@FitFieldTime private(set) public var timeStamp: FitTime? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(timeStamp:
messageIndex: friendlyName: weight: speedSetting: heartRateSetting: distanceSetting: powerSetting: positionSetting: temperatureSetting: localId: heightSetting: runningStepLength: walkingStepLength: gender: age: height: language: elevationSetting: weightSetting: restingHeartRate: maxRunningHeartRate: maxBikingHeartRate: maxHeartRate: ) Undocumented
Declaration
Swift
public convenience init(timeStamp: FitTime? = nil, messageIndex: MessageIndex? = nil, friendlyName: String? = nil, weight: Measurement<UnitMass>? = nil, speedSetting: MeasurementDisplayType? = nil, heartRateSetting: HeartRateDisplayType? = nil, distanceSetting: PositionDisplayType? = nil, powerSetting: PowerDisplayType? = nil, positionSetting: PositionDisplayType? = nil, temperatureSetting: MeasurementDisplayType? = nil, localId: UInt16? = nil, heightSetting: MeasurementDisplayType? = nil, runningStepLength: Measurement<UnitLength>? = nil, walkingStepLength: Measurement<UnitLength>? = nil, gender: Gender? = nil, age: UInt8? = nil, height: Measurement<UnitLength>? = nil, language: Language? = nil, elevationSetting: MeasurementDisplayType? = nil, weightSetting: MeasurementDisplayType? = nil, restingHeartRate: UInt8? = nil, maxRunningHeartRate: UInt8? = nil, maxBikingHeartRate: UInt8? = nil, maxHeartRate: UInt8? = nil)