MGLOfflinePackProgress

struct MGLOfflinePackProgress {}

A structure containing information about an offline pack’s current download progress.

countOfResourcesCompleted

The number of resources, including tiles, that have been completely downloaded and are ready to use offline.

Declaration

Objective-C

uint64_t countOfResourcesCompleted

Swift

var countOfResourcesCompleted: UInt64

countOfBytesCompleted

The cumulative size of the downloaded resources on disk, including tiles, measured in bytes.

Declaration

Objective-C

uint64_t countOfBytesCompleted

Swift

var countOfBytesCompleted: UInt64

countOfTilesCompleted

The number of tiles that have been completely downloaded and are ready to use offline.

Declaration

Objective-C

uint64_t countOfTilesCompleted

Swift

var countOfTilesCompleted: UInt64

countOfTileBytesCompleted

The cumulative size of the downloaded tiles on disk, measured in bytes.

Declaration

Objective-C

uint64_t countOfTileBytesCompleted

Swift

var countOfTileBytesCompleted: UInt64

countOfResourcesExpected

The minimum number of resources that must be downloaded in order to view the pack’s full region without any omissions.

At the beginning of a download, this count is a lower bound; the number of expected resources may increase as the download progresses.

Declaration

Objective-C

uint64_t countOfResourcesExpected

Swift

var countOfResourcesExpected: UInt64

maximumResourcesExpected

The maximum number of resources that must be downloaded in order to view the pack’s full region without any omissions.

At the beginning of a download, when the exact number of required resources is unknown, this field is set to UINT64_MAX. Thus this count is always an upper bound.

Declaration

Objective-C

uint64_t maximumResourcesExpected

Swift

var maximumResourcesExpected: UInt64
iOS SDK

SDK JS Reference

On this page