MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_offline_region_status Struct Reference

#include <runtime.h>

Data Fields

mln_offline_region_download_state download_state
uint64_t completed_resource_count
uint64_t completed_resource_size
uint64_t completed_tile_count
uint64_t required_tile_count
uint64_t completed_tile_size
uint64_t required_resource_count
bool required_resource_count_is_precise
bool complete

Detailed Description

The download progress of an offline region.

Field Documentation

◆ complete

bool mln_offline_region_status::complete

Whether the region has downloaded every resource it needs.

◆ completed_resource_count

uint64_t mln_offline_region_status::completed_resource_count

The resources downloaded so far, tiles included.

◆ completed_resource_size

uint64_t mln_offline_region_status::completed_resource_size

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

◆ completed_tile_count

uint64_t mln_offline_region_status::completed_tile_count

◆ completed_tile_size

uint64_t mln_offline_region_status::completed_tile_size

The size of the downloaded tiles in bytes.

◆ download_state

mln_offline_region_download_state mln_offline_region_status::download_state

◆ required_resource_count

uint64_t mln_offline_region_status::required_resource_count

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

bool mln_offline_region_status::required_resource_count_is_precise

◆ required_tile_count

uint64_t mln_offline_region_status::required_tile_count

The documentation for this struct was generated from the following file: