LatestLogDownloader
public protocol LatestLogDownloader : Peripheral
Latest Log Downloader peripheral interface.
This internal peripheral allows to retrieve latest logs (FDR) from the device.
This peripheral can be retrieved by:
device.getPeripheral(Peripherals.latestLogDownloader)
-
State of the log collection.
Declaration
Swift
var state: LogCollectorState { get }
-
Downloads the device logs for the current boot id.
Declaration
Swift
func downloadLogs(toDirectory directory: URL)
-
Cancels an ongoing log download.
Declaration
Swift
func cancelDownload()