TriggeringConfig
public struct TriggeringConfig
Holds collection of TriggeringConfigVariant
s.
Use TriggeringConfig
to initialize GuidanceTriggeringConfig
with the configuration for guidance announcments.
The configuration is an array of TriggeringConfigVariant
s; 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
configVariants
The array of the config variants. The collection must be filled in.
-
The array of the config variants.
Declaration
Swift
public let configVariants: [TriggeringConfigVariant]