addCustomWarningProvider abstract method
- CustomWarningProvider customWarningProvider,
- 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.
-
customWarningProviderA provider responsible for generating custom warnings. -
segmentDataLoaderOptionsSpecifies which data should be loaded by theSegmentDataLoader.
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.
Implementation
void addCustomWarningProvider(CustomWarningProvider customWarningProvider, SegmentDataLoaderOptions segmentDataLoaderOptions);