Enum Class MapContext.MemoryManagementResultCode

java.lang.Object
java.lang.Enum<MapContext.MemoryManagementResultCode>
com.here.sdk.mapview.MapContext.MemoryManagementResultCode
All Implemented Interfaces:
Serializable, Comparable<MapContext.MemoryManagementResultCode>, Constable
Enclosing class:
MapContext

public static enum MapContext.MemoryManagementResultCode extends Enum<MapContext.MemoryManagementResultCode>

The memory management result code.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.

  • Enum Constant Details

    • APPLIED

      public static final MapContext.MemoryManagementResultCode APPLIED

      The memory management options were successfully applied.

    • TILE_CACHE_CPU_MEMORY_LIMIT_EXCEEDED

      public static final MapContext.MemoryManagementResultCode TILE_CACHE_CPU_MEMORY_LIMIT_EXCEEDED

      The requested memory limit exceeds the maximum allowed limit for CPU tile cache. Previous value of CPU tile cache limit is preserved. Video memory limit applied correctly.

    • VIDEO_MEMORY_LIMIT_EXCEEDED

      public static final MapContext.MemoryManagementResultCode VIDEO_MEMORY_LIMIT_EXCEEDED

      The requested memory limit exceeds the maximum allowed limit for video memory. Previous value of video memory limit is preserved. CPU tile cache limit applied correctly.

    • FAILED_BOTH_MEMORY_LIMITS_EXCEEDED

      public static final MapContext.MemoryManagementResultCode FAILED_BOTH_MEMORY_LIMITS_EXCEEDED

      Both video memory and CPU tile cache limits were exceeded and limits were not applied. Previous values of video memory and CPU tile cache limits are preserved.

    • FAILED

      public static final MapContext.MemoryManagementResultCode FAILED

      The memory management options could not be applied due to other errors.

  • Method Details

    • values

      public static MapContext.MemoryManagementResultCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MapContext.MemoryManagementResultCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null