DirectionsProfileIdentifier
public struct DirectionsProfileIdentifier : Codable, Hashable, RawRepresentableOptions determining the primary mode of transportation for the routes.
- 
                  
                  DeclarationSwift public init(rawValue: String)
- 
                  
                  DeclarationSwift public var rawValue: String
- 
                  
                  The returned directions are appropriate for driving or riding a car, truck, or motorcycle. This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary. DeclarationSwift public static let automobile: DirectionsProfileIdentifier
- 
                  
                  The returned directions are appropriate for driving or riding a car, truck, or motorcycle. This profile avoids traffic congestion based on current traffic data. A driving route may use a ferry where necessary. Traffic data is available in a number of countries and territories worldwide. Where traffic data is unavailable, this profile prefers high-speed roads like highways, similar to DirectionsProfileIdentifier.Automobile.DeclarationSwift public static let automobileAvoidingTraffic: DirectionsProfileIdentifier
- 
                  
                  The returned directions are appropriate for riding a bicycle. This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance. DeclarationSwift public static let cycling: DirectionsProfileIdentifier
- 
                  
                  The returned directions are appropriate for walking or hiking. This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary. DeclarationSwift public static let walking: DirectionsProfileIdentifier
 Install in Dash
              Install in Dash
             DirectionsProfileIdentifier Structure Reference
        DirectionsProfileIdentifier Structure Reference