Method
MaplibreNativeFfiRuntimeset_maximum_ambient_cache_size_async
Declaration [src]
void
maplibre_native_ffi_runtime_set_maximum_ambient_cache_size_async (
MaplibreNativeFfiRuntime* self,
guint64 size,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Limits the size of the runtime’s ambient cache.
size is in bytes. Offline regions don’t count toward it. It defaults to 50
MB, or to 0 in the browser when the runtime has no cache file.
See mln_runtime_set_maximum_ambient_cache_size in the
C API reference.
This method completes asynchronously. Use maplibre_native_ffi_runtime_set_maximum_ambient_cache_size_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
size-
Type:
guint64No description available.
callback-
Type:
GAsyncReadyCallbackThe callback to call when the call finishes.
The argument can be NULL. user_data-
Type:
gpointerThe data to pass to
callback.The argument can be NULL.The data is owned by the caller of the method.