MGLOfflinePackProgress

struct MGLOfflinePackProgress {}

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

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

    Declaration

    Objective-C

    uint64_t countOfResourcesCompleted
  • The cumulative size of the downloaded resources on disk, measured in bytes.

    Declaration

    Objective-C

    uint64_t countOfBytesCompleted
  • 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
  • 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