DownloadFinishedEvent

@objc(BMPDownloadFinishedEvent)
@objcMembers
public class DownloadFinishedEvent : NSObject, SourceEvent

See SourceListener for more information on this event.

  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let timestamp: TimeInterval
  • Undocumented

    Declaration

    Swift

    public let requestType: HttpRequestType
  • Undocumented

    Declaration

    Swift

    public var downloadType: String { get }
  • url

    Undocumented

    Declaration

    Swift

    public let url: URL
  • Undocumented

    Declaration

    Swift

    public let lastRedirectLocation: URL?
  • Undocumented

    Declaration

    Swift

    public let downloadTime: TimeInterval
  • Undocumented

    Declaration

    Swift

    public let httpStatus: UInt
  • Undocumented

    Declaration

    Swift

    public let size: UInt
  • Undocumented

    Declaration

    Swift

    public var successful: Bool { get }
  • Undocumented

    Declaration

    Swift

    public let wasSuccessful: Bool
  • Undocumented

    Declaration

    Swift

    public convenience init(
        requestType: HttpRequestType,
        url: URL,
        downloadTime: TimeInterval,
        httpStatus: UInt,
        size: UInt,
        success: Bool,
        lastRedirectLocation: URL?
    )