BikeProfileMessage
@available(swift 4.2)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class BikeProfileMessage : FitMessage
Bike Profile Message
-
FIT Message Global Number
Declaration
Swift
public override class func globalMessageNumber() -> UInt16
-
Name
Declaration
Swift
@FitField private(set) public var name: String? { get set }
-
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 }
-
Odometer
Declaration
Swift
@FitFieldDimension private(set) public var odometer: Measurement<UnitLength>? { get set }
-
Bike Speed ANT Id
Declaration
Swift
@FitField private(set) public var speedAntId: UInt16? { get set }
-
Bike Cadence ANT Id
Declaration
Swift
@FitField private(set) public var cadenceAntId: UInt16? { get set }
-
Bike Speed Cadence ANT Id
Declaration
Swift
@FitField private(set) public var speedCadenceAntId: UInt16? { get set }
-
Bike Power ANT Id
Declaration
Swift
@FitField private(set) public var powerAntId: UInt16? { get set }
-
Custom Wheel Size
Declaration
Swift
@FitFieldDimension private(set) public var customWheelSize: Measurement<UnitLength>? { get set }
-
Auto Wheel Size
Declaration
Swift
@FitFieldDimension private(set) public var autoWheelSize: Measurement<UnitLength>? { get set }
-
Bike Weight
Declaration
Swift
@FitFieldDimension private(set) public var bikeWeight: Measurement<UnitMass>? { get set }
-
Power Calibration Factor
Declaration
Swift
@FitFieldUnit private(set) public var powerCalibrationFactor: Measurement<UnitPercent>? { get set }
-
Auto Wheel Calibration
Declaration
Swift
@FitField private(set) public var autoWheelCalibration: Bool? { get set }
-
Auto Power Zero
Declaration
Swift
@FitField private(set) public var autoPowerZero: Bool? { get set }
-
Id
Declaration
Swift
@FitField private(set) public var id: UInt8? { get set }
-
Speed Enabled
Declaration
Swift
@FitField private(set) public var speedEnabled: Bool? { get set }
-
Cadence Enabled
Declaration
Swift
@FitField private(set) public var cadenceEnabled: Bool? { get set }
-
Speed Cadence Enabled
Declaration
Swift
@FitField private(set) public var speedCadenceEnabled: Bool? { get set }
-
Power Enabled
Declaration
Swift
@FitField private(set) public var powerEnabled: Bool? { get set }
-
Crank Length
Declaration
Swift
@FitFieldDimension private(set) public var crankLength: Measurement<UnitLength>? { get set }
-
Enabled
Declaration
Swift
@FitField private(set) public var enbled: Bool? { get set }
-
Speed Transmission Type
Declaration
Swift
@FitField private(set) public var speedTransmissionType: TransmissionType? { get set }
-
Cadence Transmission Type
Declaration
Swift
@FitField private(set) public var cadenceTransmissionType: TransmissionType? { get set }
-
Speed Cadence Transmission Type
Declaration
Swift
@FitField private(set) public var speedCadenceTransmissionType: TransmissionType? { get set }
-
Power Transmission Type
Declaration
Swift
@FitField private(set) public var powerTransmissionType: TransmissionType? { get set }
-
Odometer Rollover
Rollover counter that can be used to extend the odometer
Declaration
Swift
@FitField private(set) public var odometerRollover: UInt8? { get set }
-
Number of Front Gears
Declaration
Swift
@FitField private(set) public var frontGears: UInt8? { get set }
-
Font Gear Teeth
Number of Teeth on Each Gear
Note
0 is innermostDeclaration
Swift
private(set) public var frontGearTeeth: [UInt8]? { get set }
-
Number of Rear Gears
Declaration
Swift
@FitField private(set) public var rearGears: UInt8? { get set }
-
Rear Gear Teeth
Number of Teeth on Each Gear
Note
0 is innermostDeclaration
Swift
private(set) public var rearGearTeeth: [UInt8]? { get set }
-
Shimano Di2 Enabled
Declaration
Swift
@FitField private(set) public var shimanoDi2Enabled: Bool? { get set }
-
Message Index
Declaration
Swift
@FitField private(set) public var messageIndex: MessageIndex? { get set }
-
Undocumented
Declaration
Swift
public required init()
-
init(messageIndex:
name: sport: subSport: odometer: speedAntId: cadenceAntId: speedCadenceAntId: powerAntId: customWheelSize: autoWheelSize: bikeWeight: powerCalibrationFactor: autoWheelCalibration: autoPowerZero: id: speedEnabled: cadenceEnabled: speedCadenceEnabled: powerEnabled: crankLength: enbled: speedTransmissionType: cadenceTransmissionType: speedCadenceTransmissionType: powerTransmissionType: odometerRollover: frontGears: frontGearTeeth: rearGears: rearGearTeeth: shimanoDi2Enabled: ) Undocumented
Declaration
Swift
public convenience init(messageIndex: MessageIndex? = nil, name: String? = nil, sport: Sport? = nil, subSport: SubSport? = nil, odometer: Measurement<UnitLength>? = nil, speedAntId: UInt16? = nil, cadenceAntId: UInt16? = nil, speedCadenceAntId: UInt16? = nil, powerAntId: UInt16? = nil, customWheelSize: Measurement<UnitLength>? = nil, autoWheelSize: Measurement<UnitLength>? = nil, bikeWeight: Measurement<UnitMass>? = nil, powerCalibrationFactor: Measurement<UnitPercent>? = nil, autoWheelCalibration: Bool? = nil, autoPowerZero: Bool? = nil, id: UInt8?, speedEnabled: Bool? = nil, cadenceEnabled: Bool? = nil, speedCadenceEnabled: Bool? = nil, powerEnabled: Bool? = nil, crankLength: Measurement<UnitLength>? = nil, enbled: Bool? = nil, speedTransmissionType: TransmissionType? = nil, cadenceTransmissionType: TransmissionType? = nil, speedCadenceTransmissionType: TransmissionType? = nil, powerTransmissionType: TransmissionType? = nil, odometerRollover: UInt8? = nil, frontGears: UInt8? = nil, frontGearTeeth: [UInt8]? = nil, rearGears: UInt8? = nil, rearGearTeeth: [UInt8]? = nil, shimanoDi2Enabled: Bool? = nil)