CostModel
public struct CostModelCriteria that specify what paths to prefer during routing.
- 
                  
                  Creates a CostModelinstance.DeclarationSwift public init ( routeType: RouteType = .fast, considerTraffic: ConsiderTraffic? = .yes, avoidOptions: AvoidOptions? = nil )ParametersrouteTypeThe overall path preference. considerTrafficSpecifies whether current traffic should be considered when planning the route. avoidOptionsWhat to avoid. 
- 
                  
                  The overall path preference. DeclarationSwift public var routeType: RouteType
- 
                  
                  Specifies whether current traffic should be considered when planning the route. DeclarationSwift public var considerTraffic: ConsiderTraffic?
- 
                  
                  avoidOptions What to avoid. DeclarationSwift public var avoidOptions: AvoidOptions?
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         CostModel
          CostModel