IncidentsOptions
public struct IncidentsOptions
Configures how Electronic Horizon supports live incidents on a most probable path.
To enable live incidents IncidentsOptions
should be provided to NavigationSettings
before starting navigation.
-
Incidents provider graph name.
If empty - incidents will be disabled.
Declaration
Swift
public var graph: String
-
LTS incidents service API url.
If
nil
is supplied will use a default url.Declaration
Swift
public var apiURL: URL?
-
Creates new
IncidentsOptions
Declaration
Swift
public init(graph: String, apiURL: URL?)