GuidanceOptions

data class GuidanceOptions(val guidanceVersion: OnlineApiVersion = OnlineApiVersion.v1, val instructionType: InstructionType = InstructionType.Text, val language: Locale = Locale.ENGLISH, val roadShieldReferences: RoadShieldReferences = RoadShieldReferences.None, val announcementPoints: AnnouncementPoints = AnnouncementPoints.None, val phoneticsType: InstructionPhoneticsType = InstructionPhoneticsType.None, val extendedSections: ExtendedSections = ExtendedSections.None, val progressPoints: ProgressPoints = ProgressPoints.None)

Specifies options related to instructions.

Parameters

guidanceVersion

The version of the guidance API to be used.

instructionType

The format in which instructions are reported.

language

The language of instructions.

roadShieldReferences

Whether to include references to road shields in instructions.

announcementPoints

Whether to include announcement points in instructions.

phoneticsType

The format of instruction phonetic transcriptions.

extendedSections

Whether to include road shield, lane, and speed limit sections in the response. Note: All other section types are always included.

progressPoints

Whether to include distance and travel time points in the response.

Constructors

Link copied to clipboard
constructor(guidanceVersion: OnlineApiVersion = OnlineApiVersion.v1, instructionType: InstructionType = InstructionType.Text, language: Locale = Locale.ENGLISH, roadShieldReferences: RoadShieldReferences = RoadShieldReferences.None, announcementPoints: AnnouncementPoints = AnnouncementPoints.None, phoneticsType: InstructionPhoneticsType = InstructionPhoneticsType.None, extendedSections: ExtendedSections = ExtendedSections.None, progressPoints: ProgressPoints = ProgressPoints.None)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard