FlightDataDownloader

FlightDataDownloader peripheral interface for Drone and RemoteControl devices.

This peripheral informs about automated download of flight data (PUDs) from connected devices.

This peripheral is unavailable if flight data 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(FlightDataDownloader.class)

See also

Peripheral.Provider

Types

Link copied to clipboard
Download completion status.

Functions

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