setMemoryManagementOptions abstract method
- MapContextMemoryManagementOptions memoryManagementOptions,
- 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.
-
memoryManagementOptionsThe memory management options to set. -
callbackOptional 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);