On this page
MTOfflinePackMetadata
@Serializable(with = MTOfflinePackMetadataSerializer::class)
Metadata information about an offline pack.
This model is used to persist pack information such as its identifier, current state, total size, and creation date.
Constructors
constructor(id: String, state: MTOfflinePackState, size: Long, createdAt: Instant, expiresAt: Instant, context: ByteArray? = null, region: MTOfflineRegionDefinition, totalResources: Int, totalTileResources: Int, downloadedResources: Int)
Properties
Number of resources that have been successfully downloaded.
Returns true if the pack is beyond its grace period.
The region definition specifying the bounding box, zoom levels, and style.
The current state of the pack.
Total number of resources required for the pack.
Total number of tile resources required for the pack.