@objcMembers @objc(GSFlightDataDownloaderState) public class FlightDataDownloaderState : NSObject
State of the flight data (PUD) downloader. Informs about latest count of successfully downloaded flight data files, as well as the completion status of the flight data files (PUDs) download.
Current completion status of the flight data (PUD) downloader.
The completion status changes to either
.successwhen the download interrupted or completes successfully, then remains in this state until another flight data (PUD) download begins, where it switches back to
public internal(set) var status: FlightDataDownloadCompletionStatus
Latest count of successfully downloaded flight data files.
While downloading, this counter is incremented for each successfully downloaded flight data file. Once download is over (either
FlightDataDownloadCompletionStatus.interrupted). Then it will keep its latest value, until flight data files download starts again, where it will be reset to 0.
public internal(set) var latestDownloadCount: Int