ElectronicHorizonDataLoader class abstract
Loads map data for segments that belong to the ElectronicHorizonEngine paths.
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.
Offline availability: This property is available online and offline.
Constructors
- ElectronicHorizonDataLoader(SDKNativeEngine sdkEngine, SegmentDataLoaderOptions options, int segmentDataCacheSize)
-
Creates a new instance of ElectronicHorizonDataLoader.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addElectronicHorizonDataLoaderStatusListener(
ElectronicHorizonDataLoaderStatusListener electronicHorizonListener) → void - Adds an ElectronicHorizonDataLoaderStatusListener to the subscription list.
-
getSegment(
DirectedOCMSegmentId segmentId) → ElectronicHorizonDataLoaderResult - Returns loaded data for the given segment identifier.
-
loadData(
ElectronicHorizonUpdate electronicHorizonUpdate) → void - Requests data for all added segments and removes cached data for segments that are not part of the horizon anymore.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeElectronicHorizonDataLoaderStatusListener(
ElectronicHorizonDataLoaderStatusListener electronicHorizonListener) → void - Removes an ElectronicHorizonDataLoaderStatusListener from the subscription list.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited