GuidanceOptions

data class GuidanceOptions(    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.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

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
fun GuidanceOptions(    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
val announcementPoints: AnnouncementPoints
Link copied to clipboard
val extendedSections: ExtendedSections
Link copied to clipboard
val instructionType: InstructionType
Link copied to clipboard
val language: Locale
Link copied to clipboard
val phoneticsType: InstructionPhoneticsType
Link copied to clipboard
val progressPoints: ProgressPoints
Link copied to clipboard
val roadShieldReferences: RoadShieldReferences