getRoundaboutExitNumber

Returns the roundabout exit number from the instruction, or 0 if not applicable.

Used with Maneuver.Builder.setRoundaboutExitNumber for roundabout maneuvers.

Return

The exit number (1-based), or 0 if not a roundabout instruction

Parameters

instruction

The MSDK Instruction from the route sheet