CertificateUploader

interface CertificateUploader : Peripheral

CertificateUploader peripheral interface.

This peripheral allows to upload certificates to connected devices, in order to unlock secured features on the drone.

This peripheral can be obtained from a drone using:

drone.getPeripheral(CertificateUploader.class)

See also

com.parrot.drone.groundsdk.device.Drone

Types

Link copied to clipboard
enum CompletionStatus
Upload completion status.

Functions

Link copied to clipboard
abstract fun cancel()
Cancels a current upload to the drone.
Link copied to clipboard
abstract fun getCompletionStatus(): CertificateUploader.CompletionStatus
Retrieves latest certificate upload completion status.
Link copied to clipboard
abstract fun isUploading(): Boolean
Tells whether a certificate is currently being uploaded to the device.
Link copied to clipboard
abstract fun upload(@NonNull certificate: File)
Uploads a certificate to the drone.