setMemoryManagementOptions abstract method

void setMemoryManagementOptions(
  1. MapContextMemoryManagementOptions memoryManagementOptions,
  2. MapContextSetMemoryManagementOptionsCallback? callback
)

Sets memory management options for controlling tile cache and video memory usage.

In MapContextMemoryManagementOptions optional parameters with null or non positive values will be ignored, preserving their existing settings.

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.

  • memoryManagementOptions The memory management options to set.

  • callback Optional callback used upon completion to pass the return value to the caller. The callback is called from an arbitrary thread.

Implementation

void setMemoryManagementOptions(MapContextMemoryManagementOptions memoryManagementOptions, MapContextSetMemoryManagementOptionsCallback? callback);