TriggeringConfig
public struct TriggeringConfig
Holds collection of TriggeringConfigVariants.
Use TriggeringConfig to initialize GuidanceTriggeringConfig with the configuration for guidance announcments.
The configuration is an array of TriggeringConfigVariants; it defines all the parameters for all types of roads, regions, instructions types, and at what distances to be triggered.
Additionally, the TriggeringConfig instance may validate an input list internally, allowing the developer to identify the problems during initialization.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates triggering configuration instance with the associated variants.
Declaration
Swift
public init(configVariants: [TriggeringConfigVariant])Parameters
configVariantsThe array of the config variants. The collection must be filled in.
-
The array of the config variants.
Declaration
Swift
public let configVariants: [TriggeringConfigVariant]
TomTom SDK for iOS (0.53.1)
TriggeringConfig