DownloadFinishedEvent
@objc(BMPDownloadFinishedEvent)
@objcMembers
public class DownloadFinishedEvent : NSObject, SourceEvent, @unchecked Sendable
See SourceListener
for more information on this event.
-
Declaration
Swift
public let name: String
-
Declaration
Swift
public let timestamp: TimeInterval
-
Declaration
Swift
public let requestType: HttpRequestType
-
Declaration
Swift
public var downloadType: String { get }
-
Declaration
Swift
public let url: URL
-
Declaration
Swift
public let lastRedirectLocation: URL?
-
Declaration
Swift
public let downloadTime: TimeInterval
-
Declaration
Swift
public let httpStatus: UInt
-
Declaration
Swift
public let size: UInt
-
Declaration
Swift
public var successful: Bool { get }
-
Declaration
Swift
public let wasSuccessful: Bool
-
Declaration
Swift
public convenience init( requestType: HttpRequestType, url: URL, downloadTime: TimeInterval, httpStatus: UInt, size: UInt, success: Bool, lastRedirectLocation: URL? )