ElectronicHorizonDataLoader constructor
- SDKNativeEngine sdkEngine,
- SegmentDataLoaderOptions options,
- 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.
-
sdkEngineThe SDKNativeEngine instance that provides shared services, such as networking and map data. -
optionsThe SegmentDataLoaderOptions instance that configures how segment data is requested. -
segmentDataCacheSizeThe 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);