FlightLogDownloaderState
@objcMembers
@objc(GSFlightLogDownloaderState)
public class FlightLogDownloaderState : NSObject
State of the flight log downloader. Informs about any ongoing flight logs download progress, as well as the completion status of the flight logs download.
-
Current completion status of the flight log downloader.
The completion status changes to either
.interrupted
or.success
when the download has been interrupted or completes successfully, then remains in this state until another flight log download begins, where it switches back to.none
.Declaration
Swift
public internal(set) var status: FlightLogDownloadCompletionStatus { get }
-
The current progress of an ongoing flight log download, expressed as a percentage.
Declaration
Swift
public internal(set) var downloadedCount: Int { get }