toAAManeuverType

fun toAAManeuverType(instruction: Instruction, config: ManeuverMapperConfig = ManeuverMapperConfig()): Int

Maps an MSDK Instruction to an Android Auto Maneuver type constant.

Return

An Android Auto Maneuver.TYPE_* constant, or Maneuver.TYPE_UNKNOWN if unmapped

Parameters

instruction

The MSDK Instruction from the route sheet

config

Optional configuration for roundabout direction and U-turn direction