MTOfflineContext

public struct MTOfflineContext : Sendable, Equatable

Provides additional context for an offline error.

  • url

    The URL of the resource that failed to download.

    Declaration

    Swift

    public let url: URL
  • An optional identifier for the resource (e.g., Tile ID, Source ID).

    Declaration

    Swift

    public let resourceId: String?
  • Undocumented

    Declaration

    Swift

    public init(url: URL, resourceId: String? = nil)