TripLocation
Last updated
Represents the user's location during an ongoing Trip. See startReceivingUpdates(with:_:).
altitudeAltitude above mean sea level, in meters. nil if altitude is not available.
let altitude: CLLocationDistance?courseCourse, in degrees relative to true north. 0 indicates north and values increase clockwise. Course values may not be available on all devices. nil if not available.
let course: CLLocationDirection?courseAccuracyCourse accuracy, in degrees. The radius of uncertainty for course. When available (iOS 13.4+), this represents a 68% confidence interval for the reported course. nil if not provided by the location.
let courseAccuracy: CLLocationDirectionAccuracy?horizontalAccuracyHorizontal accuracy radius, in meters. nil if not available.
let horizontalAccuracy: CLLocationAccuracy?latitudeLatitude in decimal degrees.
longitudeLongitude in decimal degrees.
speedSpeed, in meters per second. nil if not available.
speedAccuracySpeed accuracy, in meters per second. The radius of uncertainty for speed. nil if the source does not provide a speed accuracy.
timestampThe timestamp at which the location fix was determined.
transportModeThe most probable transport mode at the time of this location. See SENTTimelineTransportMode.
verticalAccuracyVertical accuracy, in meters. nil if not available.
Last updated
let latitude: CLLocationDegreeslet longitude: CLLocationDegreeslet speed: CLLocationSpeed?let speedAccuracy: CLLocationSpeedAccuracy?let timestamp: Datelet transportMode: SENTTimelineTransportModelet verticalAccuracy: CLLocationAccuracy?