HERE Android SDK Developer's Guide

CustomConfigurations

The class CustomConfigurations is a member of com.here.android.mpa.common .

Class Summary

public final class CustomConfigurations

extends java.lang.Object

CustomConfigurations manages setting of custom configurations.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in CustomConfigurations
Nested Classes

public static final enumeration CustomConfigurations.Config

Argument keys for set(Hashtable),

Constructor Summary

Table 2. Constructors in CustomConfigurations
Constructors

CustomConfigurations ()

Method Summary

Table 3. Methods in CustomConfigurations
Methods

public static void set (java.util.Hashtable <Config, java.lang.String> configFiles)

Sets custom configuration.

Class Details

CustomConfigurations manages setting of custom configurations. Setting of any type of configuration should be made before the MapEngine is initialized. CustomConfigurations.Config.MAP config must always be set together with CustomConfigurations.Config.MAP_RESOURCE Note: This API should only be used in consultation with HERE technical support.

Constructor Details

CustomConfigurations ()

Method Details

public static void set (java.util.Hashtable <Config, java.lang.String> configFiles)

Sets custom configuration. This method must be called before the MapEngine is initialized. CustomConfigurations.Config.MAP config must always be set in pair with CustomConfigurations.Config.MAP_RESOURCE Note: This API should only be used in consultation with HERE technical support.

Parameters:

  • configFiles

    A Hashtable of Key/Value pairs where key is of type CustomConfigurations.Config and value is file path where the specified configuration is located.

Throws:

  • IllegalStateException

    if MapEngine is already initialized.

  • FileNotFoundException

    if at least one of the configuration files does not exist.

  • IllegalArgumentException

    If the Hashtable of configuration key/value pairs provided is invalid, or only one config of types CustomConfigurations.Config.MAP and CustomConfigurations.Config.MAP_RESOURCE was set.

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.