YMKOfflineCacheRegionState

enum YMKOfflineCacheRegionState : UInt, @unchecked Sendable

Note

This feature is not available in the free MapKit version.

The state of the region.

Summary

Enum cases

case available = 0
Available for download on the server

case downloading = 1
Download in progress

case paused = 2
Download is paused

case completed = 3
Cache data installation is finished

case outdated = 4
The region was completed but there is a newer version on the server

case unsupported = 5
The region was removed from regions list and will never be updated

case needUpdate = 6
The region is significantly outdated or it contains invalid data

Enum cases

available

case available = 0

Available for download on the server.


downloading

case downloading = 1

Download in progress.


paused

case paused = 2

Download is paused.


completed

case completed = 3

Cache data installation is finished.


outdated

case outdated = 4

The region was completed but there is a newer version on the server.


unsupported

case unsupported = 5

The region was removed from regions list and will never be updated


needUpdate

case needUpdate = 6

The region is significantly outdated or it contains invalid data. OCM will redownload it automatically if autoupdate enabled.