@maplibre/native-ffi
    Preparing search index...

    Interface OfflineRegionStatus

    The download progress of an offline region.

    See mln_offline_region_status in the C API reference.

    interface OfflineRegionStatus {
        complete: boolean;
        completedResourceCount: bigint;
        completedResourceSize: bigint;
        completedTileCount: bigint;
        completedTileSize: bigint;
        downloadState: OfflineRegionDownloadState;
        requiredResourceCount: bigint;
        requiredResourceCountIsPrecise: boolean;
        requiredTileCount: bigint;
    }
    Index
    complete: boolean

    Whether the region has downloaded every resource it needs.

    completedResourceCount: bigint

    The resources downloaded so far, tiles included.

    completedResourceSize: bigint

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

    completedTileCount: bigint
    completedTileSize: bigint

    The size of the downloaded tiles in bytes.

    requiredResourceCount: bigint

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

    requiredResourceCountIsPrecise: boolean
    requiredTileCount: bigint