GuidanceEngineOptions
data class GuidanceEngineOptions(val instructionDistanceThreshold: Distance = INSTRUCTION_DISTANCE_THRESHOLD, val language: String? = null, val announcementMode: AnnouncementMode = AnnouncementMode.Comprehensive)
Options used by GuidanceEngineFactory.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
instructionDistanceThreshold
Distance used to select the next instructions. Any instructions with a distance less than or equal to this value will be treated as the next instruction.
language
The guidance language as the IETF language tag. Defaults to language of the device.
announcementMode
Controls the verbosity of guidance announcements. Defaults to AnnouncementMode.Comprehensive.
Constructors
Link copied to clipboard
fun GuidanceEngineOptions(instructionDistanceThreshold: Distance = INSTRUCTION_DISTANCE_THRESHOLD, language: String? = null, announcementMode: AnnouncementMode = AnnouncementMode.Comprehensive)