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 Packdata with the provided parameters.

    Declaration

    Swift

    public init(fileURL: URL, eTag: String, version: String, fileName: String)

    Parameters

    fileURL

    The URL of the packdata file.

    eTag

    The eTag for caching and validation.

    version

    The version of the packdata file.

    fileName

    The name of the packdata file.