ActivityLap
@available(swift 4.0)
public struct ActivityLap
TCX Activity Lap
-
Start Time
Declaration
Swift
private(set) public var startTime: Date?
-
Total Time
Note
SecondsDeclaration
Swift
private(set) public var totalTime: Double
-
Distance in Meters
Note
MetersDeclaration
Swift
private(set) public var distance: Double
-
Maximum Speed
Declaration
Swift
private(set) public var maximumSpeed: Double?
-
Calories
Declaration
Swift
private(set) public var calories: UInt16
-
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?
-
Trigger Method
Declaration
Swift
private(set) public var triggerMethod: TriggerMethod
-
Track
Declaration
Swift
private(set) public var track: [Track]?
-
Notes
Declaration
Swift
private(set) public var notes: String?
-
Extensions for Activity Lap
Declaration
Swift
private(set) public var extensions: [Extension]?
-
init(startTime:totalTime:distance:maximumSpeed:calories:averageHeartRate:maximumHeartRate:intensity:cadence:triggerMethod:track:notes:extensions:)
Undocumented
Declaration
Swift
public init(startTime: Date?, totalTime: Double, distance: Double, maximumSpeed: Double?, calories: UInt16, averageHeartRate: HeartRateInBeatsPerMinute?, maximumHeartRate: HeartRateInBeatsPerMinute?, intensity: Intensity, cadence: UInt8?, triggerMethod: TriggerMethod, track: [Track]?, notes: String?, extensions: [Extension]?)
-
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: ActivityLap, rhs: ActivityLap) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey