Struct

MaplibreNativeFfiOfflineRegionStatus

Description [src]

struct MaplibreNativeFfiOfflineRegionStatus {
  MaplibreNativeFfiOfflineRegionDownloadState download_state;
  guint64 completed_resource_count;
  guint64 completed_resource_size;
  guint64 completed_tile_count;
  guint64 required_tile_count;
  guint64 completed_tile_size;
  guint64 required_resource_count;
  gboolean required_resource_count_is_precise;
  gboolean complete;
}

The download progress of an offline region.

See mln_offline_region_status in the C API reference.

Structure members
download_state: MaplibreNativeFfiOfflineRegionDownloadState

Download_state.

completed_resource_count: guint64

The resources downloaded so far, tiles included.

completed_resource_size: guint64

The size of the downloaded resources in bytes, tiles included.

completed_tile_count: guint64

Completed_tile_count.

required_tile_count: guint64

Required_tile_count.

completed_tile_size: guint64

The size of the downloaded tiles in bytes.

required_resource_count: guint64

The resources that the region needs, tiles included. Until required_resource_count_is_precise is true, this is only a lower bound.

required_resource_count_is_precise: gboolean

Required_resource_count_is_precise.

complete: gboolean

Whether the region has downloaded every resource it needs.