Warner

  • 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
  • Represents a lane decrease warning that notifies about upcoming reductions in the number of available lanes.

    Lane decrease warnings are generated when the road ahead has fewer lanes than the previous road segment provided by sdk.electronic_horizon.ElectronicHorizonEngine, requiring drivers to merge or change lanes. Lane decrease is provided only on highways and motorways. It will not be provided for junctions, when maneuver is given for the lane decrease situation or when the TrafficMergeWarning is provided. Special lanes (e.g. Bus lane, HOV) will only be included to the lane decrease warning generation if the according options are set in TransportSpecification.

    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 LaneDecreaseWarning : Hashable
  • A struct that provides lane decrease warning options. Set the options for configuring the lane decrease notifications.

    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 LaneDecreaseWarningOptions : Hashable
  • 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