TriggeringInstructionType
public enum TriggeringInstructionType : Hashable, CaseIterable
The types of instruction that are defined for different configuration variants.
The navigation system invokes guiding instructions for every maneuver to show the driver along the route. Driving instructions that get triggered have a type which is announced visually and audibly.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Instruction indicating arrival at the destination.
Declaration
Swift
case arrival
-
Instruction indicating departure from the origin.
Declaration
Swift
case departure
-
Instruction indicating an upcoming border crossing.
Declaration
Swift
case borderCrossing
-
Instruction indicating entering a vehicle transportation service through a terminal.
Declaration
Swift
case enterAutoTransport
-
Instruction indicating exiting a vehicle transportation service through a terminal.
Declaration
Swift
case exitAutoTransport
-
Instruction indicating entering a carpool lane by changing lanes.
Declaration
Swift
case enterCarpoolLane
-
Instruction indicating exiting a carpool lane by changing lanes.
Declaration
Swift
case exitCarpoolLane
-
Instruction indicating a highway or motorway exit.
Declaration
Swift
case exitHighway
-
Instruction indicating exit from a roundabout.
Declaration
Swift
case exitRoundabout
-
Instruction indicating that the current road should be followed for some distance.
Declaration
Swift
case follow
-
Instruction indicating an upcoming fork in the road.
Declaration
Swift
case fork
-
Instruction indicating a turn which is legally required.
Declaration
Swift
case mandatoryTurn
-
Instruction indicating a merge to another road.
Declaration
Swift
case merge
-
Instruction indicating a roundabout maneuver.
Declaration
Swift
case roundabout
-
Instruction indicating changing highways by following an exit ramp.
Declaration
Swift
case switchHighway
-
Instruction indicating the driver is approaching a tollgate or Electronic Toll Collection System (ETC) terminal.
Declaration
Swift
case tollgate
-
Instruction indicating that the driver should turn around when possible.
Declaration
Swift
case turnAroundWhenPossible
-
Instruction indicating a turn at a road junction.
Declaration
Swift
case turn
-
Instruction indicating that a waypoint on the route is reached.
Declaration
Swift
case waypoint