freeResource abstract method

void freeResource(
  1. MapContextResourceType type,
  2. MapContextFreeResourceSeverity severity
)

Frees a system resource held by the MapContext and all entities attached to it, like HereMapControllerCore.

This function is intended for use when a system resource availability becomes low. For example, some memory can be freed when the application transitions to the background state.

  • type Type of resource to be freed.

  • severity Severity of the request.

Implementation

void freeResource(MapContextResourceType type, MapContextFreeResourceSeverity severity);