freeResource method - MapContext class - mapview library - Dart API
freeResource
freeResource abstract method
- MapContextResourceType type,
- 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.
-
typeType of resource to be freed. -
severitySeverity of the request.
Implementation
void freeResource(MapContextResourceType type, MapContextFreeResourceSeverity severity);