CourseLap
@available(swift 4.0)
public struct CourseLap
TCX Course Lap
-
Total Time
Note
SecondsDeclaration
Swift
private(set) public var totalTime: Double
-
Distance in Meters
Note
MetersDeclaration
Swift
private(set) public var distance: Double
-
Begin Position
Declaration
Swift
private(set) public var beginPosition: Position?
-
Begin Altitude
Note
MetersDeclaration
Swift
private(set) public var beginAltitude: Double?
-
End Position
Declaration
Swift
private(set) public var endPosition: Position?
-
End Altitude
Note
MetersDeclaration
Swift
private(set) public var endAltitude: Double?
-
Average Heart Rate
Declaration
Swift
private(set) public var averageHeartRate: HeartRateInBeatsPerMinute?
-
Maximum Heart Rate
Declaration
Swift
private(set) public var maximumHeartRate: HeartRateInBeatsPerMinute?
-
Intensity
Declaration
Swift
private(set) public var intensity: Intensity
-
Cadence
Declaration
Swift
private(set) public var cadence: UInt8?
-
init(totalTime:distance:beginPosition:beginAltitude:endPosition:endAltitude:averageHeartRate:maximumHeartRate:intensity:cadence:)
Undocumented
Declaration
Swift
public init(totalTime: Double, distance: Double, beginPosition: Position?, beginAltitude: Double?, endPosition: Position?, endAltitude: Double?, averageHeartRate: HeartRateInBeatsPerMinute?, maximumHeartRate: HeartRateInBeatsPerMinute?, intensity: Intensity, cadence: UInt8?)
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
public static func == (lhs: CourseLap, rhs: CourseLap) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey