MKDirectionsTransportType Enum

Definition

An enumeration whose values specify the routing type for directions requests.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MKDirectionsTransportType
type MKDirectionsTransportType = 
Inheritance
MKDirectionsTransportType
Attributes

Fields

Any 268435455

The routing type is not specified.

Automobile 1

Routing for automobiles.

Transit 4

Routing for public transport.

Walking 2

Routing for walking.

Remarks

The MKDirectionsTransportType used as the TransportType property of a MKDirectionsRequest must match the values specified in the application's info.plist (see MKDirections).

Applies to