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:MaplibreNativeFfiOfflineRegionDownloadStateDownload_state.
completed_resource_count:guint64The resources downloaded so far, tiles included.
completed_resource_size:guint64The size of the downloaded resources in bytes, tiles included.
completed_tile_count:guint64Completed_tile_count.
required_tile_count:guint64Required_tile_count.
completed_tile_size:guint64The size of the downloaded tiles in bytes.
required_resource_count:guint64The resources that the region needs, tiles included. Until
required_resource_count_is_preciseis true, this is only a lower bound.required_resource_count_is_precise:gbooleanRequired_resource_count_is_precise.
complete:gbooleanWhether the region has downloaded every resource it needs.