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 guidingInstructions for every maneuver.Contains a set of attributes common to all instructions. Is a part of the
RouteLegwhich 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 moreTurnInstructionwill containturnAngleandturnDirection.Declaration
Swift
public protocol Instruction
Protocols Reference