CrashReportDownloader

CrashReportDownloader peripheral interface for Drone and RemoteControl devices.

This peripheral informs about automated download of crash reports from connected devices.

This peripheral is unavailable if crash report support is disabled in config.

This peripheral can be obtained from a peripheral providing device (such as a drone or a remote control) using:

device.getPeripheral(CrashReportDownloader.class)

See also

Peripheral.Provider

Types

Link copied to clipboard
Download completion status.

Functions

Link copied to clipboard
Retrieves latest crash reports download completion status.
Link copied to clipboard
@IntRange(from = 0)
abstract fun getLatestDownloadCount(): Int
Retrieves latest count of successfully downloaded crash reports.
Link copied to clipboard
abstract fun isDownloading(): Boolean
Tells whether crash reports are currently being downloaded from the device.