ElectronicHorizonDataLoader constructor

ElectronicHorizonDataLoader(
  1. SDKNativeEngine sdkEngine,
  2. SegmentDataLoaderOptions options,
  3. int segmentDataCacheSize
)

Creates a new instance of ElectronicHorizonDataLoader.

The constructor accepts options to configure the data loader. For more information, see SegmentDataLoaderOptions. The cache size limits the number of segments that the loader can keep in memory at the same time.

  • sdkEngine The SDKNativeEngine instance that provides shared services, such as networking and map data.

  • options The SegmentDataLoaderOptions instance that configures how segment data is requested.

  • segmentDataCacheSize The maximum number of segments that the loader can cache.

Throws InstantiationException. InstantiationException If the data loader cannot be created.

Implementation

factory ElectronicHorizonDataLoader(SDKNativeEngine sdkEngine, SegmentDataLoaderOptions options, int segmentDataCacheSize) => $prototype.make(sdkEngine, options, segmentDataCacheSize);