TransportType
public enum TransportType : String, CodableA 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.DeclarationSwift 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. DeclarationSwift 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. DeclarationSwift case movableBridge = "movable bridge"
- 
                  
                  The route becomes impassable at this point. You should not encounter this transport type under normal circumstances. DeclarationSwift 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.DeclarationSwift case walking
- 
                  
                  The route requires the user to ride a bicycle. This is the usual transport type when the profileIdentifierisDirectionsProfileIdentifier.cycling.DeclarationSwift 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. DeclarationSwift case train
- 
                  
                  DeclarationSwift public init(from decoder: Decoder) throws
 Install in Dash
              Install in Dash
             TransportType Enumeration Reference
        TransportType Enumeration Reference