MapUpdaterConstructionCallback (API Reference)
Interface MapUpdaterConstructionCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A method which is called on the main thread when MapUpdater.fromEngineAsync(com.here.sdk.core.engine.SDKNativeEngine, com.here.sdk.maploader.MapUpdaterConstructionCallback) has been completed.
Construction requires the online configuration to be fetched, which in case of sync API, would block the calling thread.
When configuration is cached, it is enough to read it from the disk, this operation still takes relatively big time.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonMapUpdaterConstructe(MapUpdater mapUpdater) A method which is called on the main thread whenMapUpdater.fromEngineAsync(com.here.sdk.core.engine.SDKNativeEngine, com.here.sdk.maploader.MapUpdaterConstructionCallback)has been completed.
-
Method Details
-
onMapUpdaterConstructe
A method which is called on the main thread when
MapUpdater.fromEngineAsync(com.here.sdk.core.engine.SDKNativeEngine, com.here.sdk.maploader.MapUpdaterConstructionCallback)has been completed. Construction requires the online configuration to be fetched, which in case of sync API, would block the calling thread. When configuration is cached, it is enough to read it from the disk, this operation still takes relatively big time.- Parameters:
mapUpdater-Represents a constructed
MapUpdaterobject.
-