Packdata
public struct Packdata : Codable
A struct representing the metadata of a packdata file, which is used for offline map data management.
It includes the file URL, eTag for caching, version information, and the file name.
-
The URL of the packdata file, which can be used to access the file locally after downloading.
Declaration
Swift
public let fileURL: URL -
The eTag is a unique identifier for the version of the file, used for caching and validation purposes.
Declaration
Swift
public let eTag: String -
The version of the packdata file.
Declaration
Swift
public let version: String -
The name of the packdata file.
Declaration
Swift
public let fileName: String -
Initializes a new instance of
Packdatawith the provided parameters.Declaration
Swift
public init(fileURL: URL, eTag: String, version: String, fileName: String)Parameters
fileURLThe URL of the packdata file.
eTagThe eTag for caching and validation.
versionThe version of the packdata file.
fileNameThe name of the packdata file.
View on GitHub