Protocols
The following protocols are available globally.
-
Represents an instruction for a maneuver along the
Route
. In order to guide a driver along the route, the navigation system invokes guidingInstruction
s for every maneuver.Contains a set of attributes common to all instructions. Is a part of the
RouteLeg
which itself is a part of theRoute
.Different types of Instruction will implement this. They may also add extra attributes specific to their Instruction type. e.g.,
See moreTurnInstruction
will containturnAngle
andturnDirection
.Declaration
Swift
public protocol Instruction