Calls close(), for await using.
Hosts without Symbol.asyncDispose, such as ArkTS, leave it undefined.
Calls dispose(), for using.
Hosts without Symbol.dispose, such as ArkTS, leave it undefined.
ReadonlyidThe native handle ID, which runtime events report as their source. It stays readable after close.
Stops event delivery and retires the previous handler.
See mln_runtime_clear_event_handler in the
C API reference.
Clears the runtime-scoped outgoing HTTP header transform.
See mln_runtime_clear_http_header_transform in the
C API reference.
Clears the runtime-scoped network resource provider.
See mln_runtime_clear_resource_provider in the
C API reference.
Clears the runtime-scoped URL transform for network resources.
See mln_runtime_clear_resource_transform in the
C API reference.
Starts release of a runtime after checking its children.
See mln_runtime_release in the
C API reference.
Starts creation of a map on the runtime.
See mln_runtime_create_map in the
C API reference.
Starts creating an offline region.
See mln_runtime_create_offline_region in the
C API reference.
Deletes an offline region.
See mln_runtime_delete_offline_region in the
C API reference.
Consumes a runtime handle without observing its asynchronous retirement.
See mln_runtime_dispose in the
C API reference.
Reports which runtime-scoped event types this runtime queues.
See mln_runtime_get_event_mask in the
C API reference.
Starts getting one offline region by ID.
See mln_runtime_get_offline_region in the
C API reference.
Starts getting the current download status for an offline region.
See mln_runtime_get_offline_region_status in the
C API reference.
Invalidates cached resources for an offline region.
See mln_runtime_invalidate_offline_region in the
C API reference.
Starts listing the offline regions in the runtime database.
See mln_runtime_list_offline_regions in the
C API reference.
Starts merging offline regions from another MapLibre offline database.
See mln_runtime_merge_offline_regions in the
C API reference.
Starts a MapLibre ambient cache maintenance operation for this runtime.
See mln_runtime_run_ambient_cache_operation in the
C API reference.
Selects how runtime and map events reach the host.
See mln_runtime_set_event_handler in the
C API reference.
Optionalhandler: RuntimeEventHandlerSelects which runtime-scoped event types this runtime queues.
See mln_runtime_set_event_mask in the
C API reference.
Registers or replaces the runtime-scoped outgoing HTTP header transform.
See mln_runtime_set_http_header_transform in the
C API reference.
Starts a change to this runtime's maximum ambient cache size.
See mln_runtime_set_maximum_ambient_cache_size in the
C API reference.
Sets an offline region's native download state.
See mln_runtime_set_offline_region_download_state in the
C API reference.
Enables or disables runtime events for an offline region.
See mln_runtime_set_offline_region_observed in the
C API reference.
Registers or replaces a runtime-scoped network resource provider.
See mln_runtime_set_resource_provider in the
C API reference.
Registers or updates a runtime-scoped URL transform for network resources.
See mln_runtime_set_resource_transform in the
C API reference.
Starts updating opaque binary metadata for an offline region.
See mln_runtime_update_offline_region_metadata in the
C API reference.
A runtime: the native scheduler thread and event store for its maps.
See
mln_runtimein the C API reference.