Class

CPTravelEstimates

An object that describes the time and distance remaining for a maneuver in a navigation session.

Declaration

class CPTravelEstimates : NSObject

Topics

Creating a Travel Estimates Object

init(distanceRemaining: Measurement<UnitLength>, timeRemaining: TimeInterval)

Creates travel estimates with remaining distance and time.

Getting Travel Estimates

var distanceRemaining: Measurement<UnitLength>

The remaining distance for the travel estimate.

var timeRemaining: TimeInterval

The remaining time for the travel estimate.

Relationships

Inherits From

See Also

Updating Travel Estimates

func updateEstimates(CPTravelEstimates, for: CPManeuver)

Updates the travel estimates for the specified maneuver.