GuidanceEngineOptions

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
data class GuidanceEngineOptions(val instructionDistanceThreshold: Distance = INSTRUCTION_DISTANCE_THRESHOLD, val announcementMode: AnnouncementMode = AnnouncementMode.Comprehensive)

Options used by GuidanceEngineFactory.

Constructors

Link copied to clipboard
constructor(instructionDistanceThreshold: Distance = INSTRUCTION_DISTANCE_THRESHOLD, announcementMode: AnnouncementMode = AnnouncementMode.Comprehensive)

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion

Properties

Link copied to clipboard

Controls the verbosity of guidance announcements. Defaults to AnnouncementMode.Comprehensive.

Link copied to clipboard

Specifies the range in Distance for selecting the next set of instructions along the route. This threshold is used to include all instructions that are within the specified distance from the first instruction ahead of the current location in the route. This will affect the number of instructions given by the GuidanceUpdatedListener.onInstructionsChanged and GuidanceUpdatedListener.onDistanceToNextInstructionChanged.

Functions

Link copied to clipboard
open override fun toString(): String