HERE Android SDK Developer's Guide

OnMapDownloadListener

The interface OnMapDownloadListener is a member of com.here.android.mpa.common.MapEngine.

Interface Summary

public static abstract interface MapEngine.OnMapDownloadListener

Represents a listener to provide notification upon the start and completion of a data download event.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnMapDownloadListener
Methods

public abstract void onMapDataDownloadEnd ()

A callback indicating that the map data download has completed

public abstract void onMapDataDownloadInProgress ()

A callback indicating that a map data download is in progress.

public abstract void onMapDataDownloadStart ()

A callback indicating that a map data download has started.

Interface Details

Represents a listener to provide notification upon the start and completion of a data download event. This listener provides callback notifications for any data download event performed by the SDK regardless of the type of data that is downloaded (map data, traffic data, route data etc.) and regardless of the operation that triggered the download. Data download is triggered automatically by the SDK when not enough offline data is available on the device to perform an operation like: move the Map to a new location, display traffic, calculate a route etc. There can be multiple cycles of #onMapDataDownloadStart(), #onMapDataDownloadEnd() before all required map data is downloaded for a specific operation. Users are suggested to wait at least 1 second after receiving the callback #onMapDataDownloadEnd() to see if there is any new #onMapDataDownloadStart() notifications. No new notifications means that all required data was downloaded. The only operation that will not trigger these notifications is when search is performed.

Method Details

public abstract void onMapDataDownloadEnd ()

A callback indicating that the map data download has completed

public abstract void onMapDataDownloadInProgress ()

A callback indicating that a map data download is in progress. This notification will be sent after onMapDataDownloadStart.

public abstract void onMapDataDownloadStart ()

A callback indicating that a map data download has started.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.