InstructionType

public enum InstructionType

Represents the ‘instructionsType’ parameter in a request to the Routing API.

  • Defines that guidance instructions should not be returned.

    Declaration

    Swift

    case none
  • No instruction messages are requested from the Routing API. This is the preferred option since thw Navigation SDK generates instruction messages locally. This is the value that must be used when GuidanceOptions.guidanceVersion is set to OnlineApiVersion.v2, since v2 instructions never contain associated text messages.

    Declaration

    Swift

    case coded
  • Instruction messages are requested from the Routing API in text format. This does not affect the messages in the returned Instruction since the Navigation SDK generates the instruction messages locally.

    Declaration

    Swift

    case text
  • Instruction messages are requested from the Routing API in text format with phonetic tags. This does not affect the messages in the returned [Instruction] since the Navigation SDK generates the instruction messages locally.

    Declaration

    Swift

    case tagged