GSPhotoProgressIndicator
@objc
public protocol GSPhotoProgressIndicator : Instrument
Instrument that informs about photo progress indicator.
This instrument can be retrieved by:
drone.getInstrument(Instruments.photoProgressIndicator)
Note
This protocol is for Objective-C only. Swift must use the protocolPhotoProgressIndicator
.
-
Retrieves the remaining time before the next photo is taken, in seconds.
This value is only available when the current
CameraPhotoMode
is.timeLapse
andCameraPhotoFunctionState
is.started
. It may also be unsupported depending on the drone model and/or firmware version.nil
if not available.Declaration
Swift
func getRemainingTime() -> NSNumber?
-
Retrieves the remaining distance before the next photo is taken, in seconds.
This value is only available when the current
CameraPhotoMode
is.gpsLapse
andCameraPhotoFunctionState
is.started
. It may also be unsupported depending on the drone model and/or firmware version.nil
if not available.Declaration
Swift
func getRemainingDistance() -> NSNumber?