Trackpoint
@available(swift 4.0)
public struct Trackpoint
TCX Track Point
-
Time
Declaration
Swift
private(set) public var time: Date?
-
Position
Declaration
Swift
private(set) public var position: Position?
-
Altitude in Meters
Declaration
Swift
private(set) public var altitude: Double?
-
Distance in Meters
Declaration
Swift
private(set) public var distance: Double?
-
Heart Rate
Declaration
Swift
private(set) public var heartRate: HeartRateInBeatsPerMinute?
-
Undocumented
Declaration
Swift
private(set) public var cadence: UInt8?
-
Sensor State
Declaration
Swift
private(set) public var sensorState: SensorState?
-
Extensions for TrackPoint
Declaration
Swift
private(set) public var extensions: [Extension]?
-
Undocumented
Declaration
Swift
public init(time: Date?, position: Position?, altitude: Double?, distance: Double?, heartRate: HeartRateInBeatsPerMinute?, cadence: UInt8?, sensorState: SensorState?, 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: Trackpoint, rhs: Trackpoint) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Coding Keys
See moreDeclaration
Swift
public enum CodingKeys : String, CodingKey