WarnerEngine
-
struct container for custom warning data.
This structure represents the type-specific payload associated with a custom warning.
Instances of this structure are typically produced by custom warning evaluation logic and may also be retrieved from the
WarningRegistry.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.
See moreDeclaration
Swift
public struct CustomWarning : Hashable -
A protocol representing a provider of custom warnings based on vehicle position.
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.
See moreDeclaration
Swift
public protocol CustomWarningProvider : AnyObject -
A struct which represents a warning.
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.
See moreDeclaration
Swift
public struct Warning : Hashable -
Provides the core functionality for generating and managing navigation warnings.
WarnerEngineprocesses Electronic Horizon data and determines when various types of warnings should be issued. It is used withElectronicHorizonDelegate, which supply the road topology and positional updates required for warning evaluation.The engine monitors enabled warning types and notifies registered listeners when new warnings become available.
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.
See moreDeclaration
Swift
public class WarnerEngine : ElectronicHorizonDelegateextension WarnerEngine: NativeBaseextension WarnerEngine: Hashable -
A generic listener interface protocol for receiving warning notifications.
Implementations of this interface are notified whenever the
WarnerEnginedetects new warnings. The listener receives a list ofWarningobjects, each describing a specific event or condition that requires user attention.Classes interested in warning updates should implement this listener and register themselves via
WarnerEngine.addWarningListener.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.
See moreDeclaration
Swift
public protocol WarningDelegate : AnyObject -
A struct with options to configure
WarnerEngine.warningOptionsNote: 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.
See moreDeclaration
Swift
public struct WarningOptions : Hashable -
A class that store warning metadata for different warning types. Aggregates individual collection for each warning category (safety cameras, truck restrictions, etc.). Provided by
WarnerEngineso callers can lookup detailed information about specific warnings.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.
See moreDeclaration
Swift
public class WarningsRegistryextension WarningsRegistry: NativeBaseextension WarningsRegistry: Hashable
WarnerEngine Reference