PhotoProgressIndicator

public protocol PhotoProgressIndicator : Instrument

Instrument that informs about photo progress indicator.

This instrument can be retrieved by:

drone.getInstrument(Instruments.photoProgressIndicator)
  • Remaining time before the next photo is taken, in seconds.

    This value is only available when the current CameraPhotoMode is .timeLapse and CameraPhotoFunctionState is .started. It may also be unsupported depending on the drone model and/or firmware version. nil if not available.

    Declaration

    Swift

    var remainingTime: Double? { get }
  • Remaining distance before the next photo is taken, in meters.

    This value is only available when the current CameraPhotoMode is .gpsLapse and CameraPhotoFunctionState is .started. It may also be unsupported depending on the drone model and/or firmware version. nil if not available.

    Declaration

    Swift

    var remainingDistance: Double? { get }