Class

MaplibreNativeFfiRuntime

Description [src]

final class MaplibreNativeFfi.Runtime : GObject.Object
{
  /* No available fields */
}

A runtime owns maps and the network and cache settings that they share.

See mln_runtime in the C API reference.

Ancestors

Constructors

Instance methods

maplibre_native_ffi_runtime_clear_event_handler_async

Stops sending the events of the runtime and its maps to a callback.

maplibre_native_ffi_runtime_clear_event_handler_finish

Finishes a call that maplibre_native_ffi_runtime_clear_event_handler_async started.

maplibre_native_ffi_runtime_clear_http_header_transform_async

Stops adding headers to the runtime’s HTTP requests.

maplibre_native_ffi_runtime_clear_http_header_transform_finish

Finishes a call that maplibre_native_ffi_runtime_clear_http_header_transform_async started.

maplibre_native_ffi_runtime_clear_resource_provider_async

Removes the runtime’s resource provider, so the library loads every request itself.

maplibre_native_ffi_runtime_clear_resource_provider_finish

Finishes a call that maplibre_native_ffi_runtime_clear_resource_provider_async started.

maplibre_native_ffi_runtime_clear_resource_transform_async

Stops rewriting the URLs of the runtime’s network requests.

maplibre_native_ffi_runtime_clear_resource_transform_finish

Finishes a call that maplibre_native_ffi_runtime_clear_resource_transform_async started.

maplibre_native_ffi_runtime_create_map

Creates a map on runtime.

maplibre_native_ffi_runtime_create_offline_region_async

Creates an offline region in the runtime’s cache file.

maplibre_native_ffi_runtime_create_offline_region_finish

Finishes a call that maplibre_native_ffi_runtime_create_offline_region_async started.

maplibre_native_ffi_runtime_delete_offline_region_async

Deletes the offline region region_id from the runtime’s cache file.

maplibre_native_ffi_runtime_delete_offline_region_finish

Finishes a call that maplibre_native_ffi_runtime_delete_offline_region_async started.

maplibre_native_ffi_runtime_dispose

Releases a runtime in any state, without waiting.

maplibre_native_ffi_runtime_get_id

The handle’s ID, which runtime events name as their source.

maplibre_native_ffi_runtime_get_offline_region_async

Reads the offline region region_id.

maplibre_native_ffi_runtime_get_offline_region_finish

Finishes a call that maplibre_native_ffi_runtime_get_offline_region_async started.

maplibre_native_ffi_runtime_get_offline_region_status_async

Reads the download progress of the offline region region_id.

maplibre_native_ffi_runtime_get_offline_region_status_finish

Finishes a call that maplibre_native_ffi_runtime_get_offline_region_status_async started.

maplibre_native_ffi_runtime_invalidate_offline_region_async

Makes maps check each resource of the offline region region_id with the server before they use it.

maplibre_native_ffi_runtime_invalidate_offline_region_finish

Finishes a call that maplibre_native_ffi_runtime_invalidate_offline_region_async started.

maplibre_native_ffi_runtime_is_event_source

Whether a runtime event comes from this handle. A handle’s ID needs all of its 64 bits, so compare with this, rather than with maplibre_native_ffi_runtime_get_id, where numbers are doubles, as in JavaScript.

maplibre_native_ffi_runtime_list_offline_regions_async

Lists the offline regions in the runtime’s cache file.

maplibre_native_ffi_runtime_list_offline_regions_finish

Finishes a call that maplibre_native_ffi_runtime_list_offline_regions_async started.

maplibre_native_ffi_runtime_merge_offline_regions_async

Copies the offline regions of another cache file into the runtime’s cache file.

maplibre_native_ffi_runtime_merge_offline_regions_finish

Finishes a call that maplibre_native_ffi_runtime_merge_offline_regions_async started.

maplibre_native_ffi_runtime_release_finish

Finishes a release that maplibre_native_ffi_runtime_release_async started.

maplibre_native_ffi_runtime_run_cache_database_operation_async

Runs a maintenance action on the runtime’s cache database.

maplibre_native_ffi_runtime_run_cache_database_operation_finish

Finishes a call that maplibre_native_ffi_runtime_run_cache_database_operation_async started.

maplibre_native_ffi_runtime_set_event_handler_async

Sends the events of the runtime and its maps to a callback.

maplibre_native_ffi_runtime_set_event_handler_finish

Finishes a call that maplibre_native_ffi_runtime_set_event_handler_async started.

maplibre_native_ffi_runtime_set_http_header_transform_async

Adds headers to the runtime’s HTTP requests.

maplibre_native_ffi_runtime_set_http_header_transform_finish

Finishes a call that maplibre_native_ffi_runtime_set_http_header_transform_async started.

maplibre_native_ffi_runtime_set_maximum_ambient_cache_size_async

Limits the size of the runtime’s ambient cache.

maplibre_native_ffi_runtime_set_maximum_ambient_cache_size_finish

Finishes a call that maplibre_native_ffi_runtime_set_maximum_ambient_cache_size_async started.

maplibre_native_ffi_runtime_set_offline_region_download_state_async

Starts or pauses the download of the offline region region_id.

maplibre_native_ffi_runtime_set_offline_region_download_state_finish

Finishes a call that maplibre_native_ffi_runtime_set_offline_region_download_state_async started.

maplibre_native_ffi_runtime_set_offline_region_observed_async

Selects the events that the runtime reports about the download of the offline region region_id.

maplibre_native_ffi_runtime_set_offline_region_observed_finish

Finishes a call that maplibre_native_ffi_runtime_set_offline_region_observed_async started.

maplibre_native_ffi_runtime_set_resource_provider_async

Serves the runtime’s network requests through a callback.

maplibre_native_ffi_runtime_set_resource_provider_finish

Finishes a call that maplibre_native_ffi_runtime_set_resource_provider_async started.

maplibre_native_ffi_runtime_set_resource_transform_async

Rewrites the URLs of the runtime’s network requests.

maplibre_native_ffi_runtime_set_resource_transform_finish

Finishes a call that maplibre_native_ffi_runtime_set_resource_transform_async started.

maplibre_native_ffi_runtime_update_offline_region_metadata_async

Replaces the metadata of the offline region region_id.

maplibre_native_ffi_runtime_update_offline_region_metadata_finish

Finishes a call that maplibre_native_ffi_runtime_update_offline_region_metadata_async started.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct MaplibreNativeFfiRuntimeClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.