ElectronicHorizon
public struct ElectronicHorizon : Hashable
A struct containing the full set of available paths predicted for the current vehicle state.
Represents a snapshot of the horizon estimation at the moment the update was generated.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
A list of all available electronic horizon paths. The list may be empty if none of the
ElectronicHorizonPaths are available.Declaration
Swift
public var paths: [ElectronicHorizonPath] -
Creates a new instance.
Offline availability: This property is available online and offline.
Declaration
Swift
public init(paths: [ElectronicHorizonPath] = []) -
Returns the most preferred path among the set of available paths.
Declaration
Swift
public func mostPreferredPath() -> ElectronicHorizonPath?Return Value
The most preferred path, or
nilif the list of available paths is empty.