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 more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    Swift

    public struct Warning : Hashable
  • Provides the core functionality for generating and managing navigation warnings.

    WarnerEngine processes Electronic Horizon data and determines when various types of warnings should be issued. It is used with ElectronicHorizonDelegate, 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 more

    Declaration

    Swift

    public class WarnerEngine : ElectronicHorizonDelegate
    extension WarnerEngine: NativeBase
    extension WarnerEngine: Hashable
  • A generic listener interface protocol for receiving warning notifications.

    Implementations of this interface are notified whenever the WarnerEngine detects new warnings. The listener receives a list of Warning objects, 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 more

    Declaration

    Swift

    public protocol WarningDelegate : AnyObject
  • A struct with options to configure WarnerEngine.warningOptions

    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 more

    Declaration

    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 WarnerEngine so 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 more

    Declaration

    Swift

    public class WarningsRegistry
    extension WarningsRegistry: NativeBase
    extension WarningsRegistry: Hashable