Class MapContext.MemoryManagementResult

java.lang.Object
com.here.sdk.mapview.MapContext.MemoryManagementResult
Enclosing class:
MapContext

public static final class MapContext.MemoryManagementResult extends Object

Memory management result.

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.

  • Field Details

    • diffBetweenVideoMemoryLimitAndRequirementInKiB

      @Nullable public Integer diffBetweenVideoMemoryLimitAndRequirementInKiB

      The difference in kibibytes between the limit and the video-memory requirement for only the currently visible data. If positive, the returned value is the surplus value over the currently required bare minimum. Even when positive, if the limit set is low, the application could later breach the limit and delete even visible data. A non positive value means the limit cannot fit the existing visible data and there could be data disappearing or flickering. If for some reason the callback is ignored or correct memory limit cannot be calculated, null value is returned.

    • resultCode

      @NonNull public MapContext.MemoryManagementResultCode resultCode

      The result code of the memory management request.

  • Constructor Details

    • MemoryManagementResult

      public MemoryManagementResult(@NonNull MapContext.MemoryManagementResultCode resultCode)

      Creates a new instance.

      Parameters:
      resultCode -

      The result code of the memory management request.