TransportType
public enum TransportType : String, Codable
                A TransportType specifies the mode of transportation used for part of a route.
- 
                  
                  
The route requires the user to drive or ride a car, truck, or motorcycle.
This is the usual transport type when the
profileIdentifierisDirectionsProfileIdentifier.automobileorDirectionsProfileIdentifier.automobileAvoidingTraffic.Declaration
Swift
case automobile = "driving" - 
                  
                  
The route requires the user to board a ferry.
The user should verify that the ferry is in operation. For driving and cycling directions, the user should also verify that his or her vehicle is permitted onboard the ferry.
Declaration
Swift
case ferry - 
                  
                  
The route requires the user to cross a movable bridge.
The user may need to wait for the movable bridge to become passable before continuing.
Declaration
Swift
case movableBridge = "movable bridge" - 
                  
                  
The route becomes impassable at this point.
You should not encounter this transport type under normal circumstances.
Declaration
Swift
case inaccessible = "unaccessible" - 
                  
                  
The route requires the user to walk.
This is the usual transport type when the
profileIdentifierisDirectionsProfileIdentifier.walking. For cycling directions, this value indicates that the user is expected to dismount.Declaration
Swift
case walking - 
                  
                  
The route requires the user to ride a bicycle.
This is the usual transport type when the
profileIdentifierisDirectionsProfileIdentifier.cycling.Declaration
Swift
case cycling - 
                  
                  
The route requires the user to board a train.
The user should consult the train’s timetable. For cycling directions, the user should also verify that bicycles are permitted onboard the train.
Declaration
Swift
case train - 
                  
                  
Declaration
Swift
public init(from decoder: Decoder) throws 
              Install in Dash
            
        TransportType Enumeration Reference