HERE Android SDK Developer's Guide

MapSettings

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

Class Summary

public final class MapSettings

extends java.lang.Object

Allows clients to modify map settings.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in MapSettings
Constructors

MapSettings ()

Method Summary

Table 2. Methods in MapSettings
Methods

public static boolean setIsolatedDiskCacheRootPath (String path, String intentAction)

Experimental method to allow switching of the disk cache to a separate service process and disk cache path.

Class Details

Allows clients to modify map settings.

Constructor Details

MapSettings ()

Method Details

public static boolean setIsolatedDiskCacheRootPath (String path, String intentAction)

Experimental method to allow switching of the disk cache to a separate service process and disk cache path.

The method must be called before the init() methods on MapEngine.

The intent (second parameter) must be unique for the client application and must match the definition of the service in AndroidManifest.xml.

Parameters:

  • path

    A string containing the new disk cache path.

  • intentAction

    A string containing "IntentAction" for the isolated service; must be unique for the client application.

Returns:

false if path matches default disk cache path or path is file or invalid or is not writable or intentAction matches default service connection name, otherwise true.

See also:

{@link DiskCacheUtility}