addCustomWarningProvider abstract method

void addCustomWarningProvider(
  1. CustomWarningProvider customWarningProvider,
  2. SegmentDataLoaderOptions segmentDataLoaderOptions
)

Registers a custom warning provider.

The registered provider participates in warning evaluation and is invoked to generate custom warnings based on the current vehicle position.

  • customWarningProvider A provider responsible for generating custom warnings.

  • segmentDataLoaderOptions Specifies which data should be loaded by the SegmentDataLoader.

Implementation

void addCustomWarningProvider(CustomWarningProvider customWarningProvider, SegmentDataLoaderOptions segmentDataLoaderOptions);