Other Protocols

The following protocols are available globally.

  • Instrument that informs about altitude.

    This instrument can be retrieved by:

    drone.getInstrument(Instruments.altimeter)
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol Altimeter.
    See more

    Declaration

    Swift

    @objc
    public protocol GSAltimeter : Instrument
  • Instrument that informs a device’s battery.

    This instrument can be retrieved by:

    drone.getInstrument(Instruments.batteryInfo)
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol BatteryInfo.
    See more

    Declaration

    Swift

    @objc
    public protocol GSBatteryInfo : Instrument
  • Protocol that provides functions to get instruments. Those methods should no be used from Swift.

    See more

    Declaration

    Swift

    @objc
    public protocol GSInstrumentProvider
  • 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 protocol PhotoProgressIndicator.
    See more

    Declaration

    Swift

    @objc
    public protocol GSPhotoProgressIndicator : Instrument
  • Instrument that informs about the radio.

    This instrument can be retrieved by:

    id<GSRadio> radio = (id<GSRadio>)[drone getInstrument:GSInstruments.radio];
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol Radio.
    See more

    Declaration

    Swift

    @objc
    public protocol GSRadio
  • Instrument that informs about speeds.

    This instrument can be retrieved by:

    drone.getInstrument(Instruments.speedometer)
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol Speedometer.
    See more

    Declaration

    Swift

    @objc
    public protocol GSSpeedometer : Instrument
  • Setting to change the anti-flickering mode.

    See more

    Declaration

    Swift

    public protocol AntiflickerSetting : AnyObject
  • Setting to change the anti-flickering mode.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSAntiflickerSetting
  • Peripheral managing anti-flickering.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSAntiflicker
  • Camera protocol.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCamera
  • Setting to configure camera exposure compensation

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraAntiFlickeringSettings
  • Camera exposure setting.

    Allows to configure the exposure mode and parameters, such as: - ISO sensitivity, - Shutter speed.

    See more

    Declaration

    Swift

    public protocol CameraExposureSettings : AnyObject
  • Settings to configure camera exposure mode and parameters.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraExposureSettings
  • Setting to configure camera exposure compensation

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraExposureCompensationSetting
  • Camera exposure lock.

    Allows to lock/unlock the exposure according to a given mode.

    See more

    Declaration

    Swift

    public protocol CameraExposureLock : AnyObject
  • Camera exposure lock.

    Allows to lock/unlock the exposure according to a given mode.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraExposureLock
  • Setting to change the camera mode.

    See more

    Declaration

    Swift

    public protocol CameraModeSetting : AnyObject
  • Setting to change the camera mode

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraModeSetting
  • Camera photo setting.

    Allows to configure the camera photo mode and parameters, such as:

    • Photo format,
    • Photo file format,
    • Burst value (for {@link Mode#BURST burst mode},
    • Bracketing value (for {@link Mode#BRACKETING bracketing mode}.
    See more

    Declaration

    Swift

    public protocol CameraPhotoSettings : AnyObject
  • State of the camera photo function.

    See more

    Declaration

    Swift

    @objc(GSCameraPhotoState)
    public protocol CameraPhotoState
  • Settings to configure photo mode and options

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraPhotoSettings
  • Camera recording setting.

    Allows to configure the camera recording mode and parameters, such as:

    • Recording resolution,
    • Recording framerate,
    • Hyperalpse value for hyperlapse mode.
    See more

    Declaration

    Swift

    public protocol CameraRecordingSettings : AnyObject
  • Recording progress event.

    See more

    Declaration

    Swift

    @objc(GSCameraRecordingState)
    public protocol CameraRecordingState
  • Settings to configure recording mode and options

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraRecordingSettings
  • Style customizable parameters.

    See more

    Declaration

    Swift

    @objc(GSCameraStyleParameter)
    public protocol CameraStyleParameter
  • Camera style settings.

    Allows to set the active image style and to customize its parameters.

    See more

    Declaration

    Swift

    public protocol CameraStyleSettings : AnyObject
  • Camera style settings.

    Allows to set the active image style and to customize its parameters.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraStyleSettings
  • Settings to configure White balance.

    Allows to configure the white balance mode and custom temperature.

    See more

    Declaration

    Swift

    public protocol CameraWhiteBalanceSettings : AnyObject
  • Settings to configure White balance.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraWhiteBalanceSettings
  • Camera white balance lock.

    Allows to lock/unlock the white balance values.

    See more

    Declaration

    Swift

    public protocol CameraWhiteBalanceLock : AnyObject
  • Camera white balance lock.

    Allows to lock/unlock the white balance values.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCameraWhiteBalanceLock
  • A camera zoom.

    Zoom level can be changed whether by giving a desired level (set(level:)) or by giving a desired zoom change velocity (set(velocity:)).

    See more

    Declaration

    Swift

    @objc(GSCameraZoom)
    public protocol CameraZoom : AnyObject
  • Peripheral managing copilot

    Copilot allows to select the source of piloting commands, either the remote control (default) or the application. Selecting a source prevents the other one from sending any piloting command. The piloting source is automatically reset to {@link Source#REMOTE_CONTROL remote control} when this one is disconnected from the phone.

    This peripheral can be retrieved by:

    device.getPeripheral(Peripherals.coPilot)
    
    See more

    Declaration

    Swift

    public protocol Copilot : Peripheral
  • Setting to change the piloting source

    See more

    Declaration

    Swift

    public protocol CopilotSetting : AnyObject
  • CopterMotors peripheral interface for copter drones.

    Allows to query the error status of each of the copter’s motors.

    This peripheral can be retrieved by:

    drone.getPeripheral(Peripherals.copterMotors)
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol CopterMotors.
    See more

    Declaration

    Swift

    @objc
    public protocol GSCopterMotors : Peripheral
  • Setting providing access to the GeofenceMode.

    See more

    Declaration

    Swift

    @objc(GSGeofenceMode)
    public protocol GeofenceModeSetting : AnyObject
  • Objective-C version of Gimbal.

    The gimbal is the peripheral holding and orientating the camera. It can be a real mechanical gimbal, or a software one.

    The gimbal can act on one or multiple axes. It can stabilize a given axis, meaning that the movement on this axis will be following the horizon (for .roll and .pitch) or the North (for the .yaw).

    Note

    This class is for Objective-C only and must not be used in Swift.
    See more

    Declaration

    Swift

    @objc
    public protocol GSGimbal : Peripheral
  • Peripheral managing leds.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSLeds
  • Main Camera peripheral.

    Note

    This protocol is for Objective-C compatibility only.

    Declaration

    Swift

    @objc
    public protocol GSMainCamera : GSCamera, Peripheral
  • A list of media resources to download.

    Seealso

    MediaResourceListFactory to create MediaResourceList.
    See more

    Declaration

    Swift

    @objc(GSMediaResourceList)
    public protocol MediaResourceList
  • Objective-C version of MediaStore.

    Note

    This class is for Objective-C only and must not be used in Swift.
    See more

    Declaration

    Swift

    @objc(GSMediaStore)
    public protocol GSMediaStore : Peripheral
  • Protocol that provides functions to get peripherals. Those methods should no be used from swift.

    See more

    Declaration

    Swift

    @objc
    public protocol GSPeripheralProvider
  • Setting to change the precise home mode.

    See more

    Declaration

    Swift

    public protocol PreciseHomeSetting : AnyObject
  • Setting to change the precise home mode

    Note

    this protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSPreciseHomeSetting
  • Peripheral managing precise home.

    Note

    this protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSPreciseHome
  • Information about the media storage.

    See more

    Declaration

    Swift

    @objc(GSRemovableUserStorageMediaInfo)
    public protocol RemovableUserStorageMediaInfo : AnyObject
  • Removable user storage.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSRemovableUserStorage
  • Gamepad peripheral for skyCtrl3 remote control devices.

    This peripheral allows:

    • To receive events when physical inputs (buttons/axes) on the device are triggered.
    • To configure mappings between combinations of physical inputs and predefined actions to execute or events to forward to the application when such combinations are triggered.

    To start receiving events, a set of SkyCtrl3Button and SkyCtrl3Axis must be grabbed and and some event listener has to be provided.

    When a gamepad input is grabbed, the remote control will stop forwarding events associated to this input to the connected drone (if any) and instead forward those events to the application-provided listener.

    Each input may produce at least one, but possibly multiple specific events, which is documented in SkyCtrl3Button and SkyCtrl3Axis.

    To stop receiving events, the input must be ungrabbed, and by doing so the remote control will resume forwarding that input events back to the connected drone instead, or, if the VirtualGamepad was grabbing navigation events, it will receive again the navigation events.

    Alternatively the application can unregister its event listeners to stop receiving events from all grabbed inputs altogether. Note, however, that doing so does not release any input, so the drone still won’t receive the grabbed input events.

    To receive input events, the application must register some listener to which those event will be forwarded. Event listeners come in two kind, depending on the event to be listened to:

    • A (_ event: SkyCtrl3ButtonEvent, _ state: SkyCtrl3ButtonEventState) -> Void that receives events from inputs producing SkyCtrl3ButtonEvent events. This listener also provides the physical state of the associated input, i.e. whether the associated button is .pressed or .released. Note that physical axes produce a button press event every time they reach the start or end of their course, and a button release event every time they quit that position.
    • A (_ event: SkyCtrl3AxisEvent, _ value: Int) -> Void that receives events from inputs producing SkyCtrl3AxisEvent events. This listener also provides the current value of the associated input, i.e. an int value in range [-100, 100] that represents the current position of the axis, where -100 corresponds to the axis at start of its course (left for horizontal axes, down for vertical axes), and 100 represents the axis at end of its course (right for horizontal axes, up for vertical axes).

    A mapping defines a set of actions that may each be triggered by a specific combination of inputs events (buttons, and/or axes) produced by the remote control. Those mappings can be edited and are persisted on the remote control device: entries can be modified, removed, and new entries can be added as well.

    A SkyCtrl3MappingEntry in a mapping defines the association between such an action, the drone model on which it should apply, and the combination of input events that should trigger the action. Two different kind of entries are available:

    This peripheral can be retrieved by:

    (id<GSSkyCtrl3Gamepad>) [drone getPeripheral:GSPeripherals.skyCtrl3Gamepad]
    

    Note

    this protocol is for Objective-C only. Swift must use the protocol SkyCtrl3Gamepad
    See more

    Declaration

    Swift

    @objc
    public protocol GSSkyCtrl3Gamepad : Peripheral
  • Camera live stream interface. Provides control over the drone camera live stream, allowing to pause, resume or stop playback. There is only one instance of this interface that is shared amongst all clients that have an open reference on this stream.

    This stream supports ‘suspended’ state. When it is started and gets interrupted because another stream starts, or because streaming gets disabled globally, it moves to the ‘suspended’ state. Once the interruption stops, or streaming gets enabled, it is resumed in the state it was before suspension. Also, this implies that this stream can be started even while streaming is globally disabled. In such case, it will move to the ‘suspended’ state until either it is stopped by client request, or streaming gets enabled.

    See more

    Declaration

    Swift

    @objc(GSCameraLive)
    public protocol CameraLive : Stream
  • Media replay stream interface.

    See more

    Declaration

    Swift

    @objc(GSMediaReplay)
    public protocol MediaReplay : Replay
  • Media replay source interface.

    See more

    Declaration

    Swift

    @objc(GSMediaReplaySource)
    public protocol MediaReplaySource
  • StreamServer peripheral interface. This peripheral allows streaming of live camera video and replay of video files stored in drone memory. Those methods should no be used from swift

    See more

    Declaration

    Swift

    @objc
    public protocol GSStreamServer
  • Target framing setting.

    Allows to configure positioning of the tracked target in the drone video stream.

    See more

    Declaration

    Swift

    public protocol TargetFramingSetting : AnyObject
  • Information on the analyzed trajectory of the target.

    See more

    Declaration

    Swift

    @objc(GSTargetTrajectory)
    public protocol TargetTrajectory
  • Objective-C version of the Target framing setting.

    Allows to configure positioning of the tracked target in the drone video stream.

    See more

    Declaration

    Swift

    @objc
    public protocol GSTargetFramingSetting
  • Objective-C version of TargetTracker.

    The targetTracker is the peripheral used by features such as Look-At or Follow-Me. It allows to activate/ deactivate the different detection modes of the target:

    • control whether user device/controller barometer and location are actively monitored and sent to the connected drone, in order to allow the latter to track the user and/or controller,
      • forward external target detection information to the drone, in order to allow the latter to track a given target
      • configure the tracked target desired position (framing) in the video stream.

    Look-At and Follow-Me interfaces will be will be activatable according to the target’s detection quality level.

    Note

    This class is for Objective-C only and must not be used in Swift.
    See more

    Declaration

    Swift

    @objc
    public protocol GSTargetTracker : Peripheral
  • Thermal camera peripheral.

    Note

    This protocol is for Objective-C compatibility only.

    Declaration

    Swift

    @objc
    public protocol GSThermalCamera : GSCamera, Peripheral
  • Setting to change the thermal control mode.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSThermalControlSetting
  • Setting to change the thermal sensitivity range

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSThermalSensitivityRangeSetting
  • Thermal camera calibration.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSThermalCalibration : AnyObject
  • Peripheral managing thermal control.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSThermalControl
  • Ongoing update download state and progress.

    See more

    Declaration

    Swift

    public protocol UpdaterDownload : CustomStringConvertible
  • Ongoing update download state and progress.

    Note

    This protocol is for Objective-C only. Swift must use UpdaterDownload.
    See more

    Declaration

    Swift

    @objc
    public protocol GSUpdaterDownload
  • Ongoing update state and progress

    See more

    Declaration

    Swift

    public protocol UpdaterUpdate
  • Ongoing update state and progress

    Note

    This protocol is for Objective-C only. Swift must use UpdaterUpdate.
    See more

    Declaration

    Swift

    @objc
    public protocol GSUpdaterUpdate
  • Updater peripheral interface for Drone and RemoteControl devices.

    Allows to:

    • Know if there is a locally available firmware that is suitable to update the device.
    • Request to update the device using such a firmware.

    This peripheral can be retrieved by:

    id<GSUpdater> updater = (id<GSUpdater>)[drone getPeripheral:GSPeripherals.updater];
    

    Note

    This protocol is for Objective-C only. Swift must use the protocol Updater
    See more

    Declaration

    Swift

    @objc
    public protocol GSUpdater : Peripheral
  • Setting providing access to the Wifi access point environment setup.

    See more

    Declaration

    Swift

    @objc(GSEnvironmentSetting)
    public protocol EnvironmentSetting
  • Setting providing access to the Wifi access point security setup.

    See more

    Declaration

    Swift

    public protocol SecurityModeSetting
  • Setting providing access to the Wifi access point channel setup.

    See more

    Declaration

    Swift

    public protocol ChannelSetting
  • Setting providing access to the Wifi access point channel setup.

    Note

    This protocol is for Objective-C only. Swift must use the protocol ChannelSetting.
    See more

    Declaration

    Swift

    @objc
    public protocol GSChannelSetting
  • Setting providing access to the Wifi access point security setup.

    Note

    This protocol is for Objective-C compatibility only.
    See more

    Declaration

    Swift

    @objc
    public protocol GSSecurityModeSetting
  • Wifi access point peripheral interface.

    Allows to configure various parameters of the device’s Wifi access point, such as:

    • Environment (indoor/outdoor) setup
    • Country
    • Channel
    • SSID
    • Security

    This peripheral can be retrieved by:

    (id<GSWifiAccessPoint>) [drone getPeripheral:GSPeripherals.wifiAccessPoint]
    

    Note

    this protocol is for Objective-C only. Swift must use the protocol ChannelSetting
    See more

    Declaration

    Swift

    @objc
    public protocol GSWifiAccessPoint : Peripheral
  • Base class for an Animation configuration.

    Subclasses allow to build a configuration that instructs the drone to play the animation with whatever default values if deems appropriate, depending on the current context and/or its own defaults.

    Subclasses may also have mandatory parameters in their constructor.

    Each method starting with with in subclasses allows to customize a different animation parameter. When one of this method is called, the drone will use the provided parameter value instead of its own default, if possible.

    See more

    Declaration

    Swift

    @objc(GSAnimationConfig)
    public protocol AnimationConfig : AnyObject
  • Base interface for an Animation.

    See more

    Declaration

    Swift

    @objc(GSAnimation)
    public protocol Animation : AnyObject
  • Candle animation.

    This animation instructs the drone to fly horizontally in direction of a target and then to fly up. The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSCandleAnimation)
    public protocol CandleAnimation : Animation
  • Dolly slide animation.

    This animation instructs the drone to fly horizontally with respect to a specific angle between its original position (before the animation begins), the target, and its destination. The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSDollySlideAnimation)
    public protocol DollySlideAnimation : Animation
  • Dronie animation.

    This animation instructs the drone to fly away from the target on a given distance with a predefined (and not configurable) angle. The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSDronieAnimation)
    public protocol DronieAnimation : Animation
  • Flip animation.

    This animation instructs the drone to flip in place around one of its axes. The axis in question depends on the instructed flip direction.

    See more

    Declaration

    Swift

    @objc(GSFlipAnimation)
    public protocol FlipAnimation : Animation
  • Horizontal 180 Photo Panorama animation.

    The drone performs a 180° rotation on the yaw axis while taking photos at various angles. The resulting set of photos can then be retrieved as a single ‘panorama’ media that may be post-processed to make panoramic images.

    Declaration

    Swift

    @objc(GSHorizontal180PhotoPanoramaAnimation)
    public protocol Horizontal180PhotoPanoramaAnimation : Animation
  • Horizontal panorama animation.

    This animation instructs the drone to rotate horizontally.

    See more

    Declaration

    Swift

    @objc(GSHorizontalPanoramaAnimation)
    public protocol HorizontalPanoramaAnimation : Animation
  • Horizontal reveal animation.

    This animation instructs the drone to start looking down, then to move forward while slowly looking at the horizon.

    See more

    Declaration

    Swift

    @objc(GSHorizontalRevealAnimation)
    public protocol HorizontalRevealAnimation : Animation
  • Parabola animation.

    This animation instructs the drone to fly above the target in a parabola shape. The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSParabolaAnimation)
    public protocol ParabolaAnimation : Animation
  • Position Twist Up Animation.

    This animation instructs the drone to circle around the target, possibly in a spiral shape and possibly also while flying vertically (up or down). The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSPositionTwistUpAnimation)
    public protocol PositionTwistUpAnimation : Animation
  • Spherical Photo Panorama animation.

    The drone performs a 360° rotation on the yaw axis. At various angles, rotation pauses, drone camera performs a 180° rotation on the tilt axis while taking photos at various angles, then drone yaw rotation resumes. The resulting set of photos can then be retrieved as a single ‘panorama’ media that may be post-processed to make panoramic images.

    Declaration

    Swift

    @objc(GSSphericalPhotoPanoramaAnimation)
    public protocol SphericalPhotoPanoramaAnimation : Animation
  • Spiral animation.

    This animation instructs the drone to circle around the target, possibly in a spiral shape and possibly also while flying vertically (up or down). The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSSpiralAnimation)
    public protocol SpiralAnimation : Animation
  • Twist Up Animation.

    This animation will make the drone move up and rotate slowly on itself until the end of the animation, first with the camera looking down and when it reaches its target altitude, slowly looking up to the horizon.

    See more

    Declaration

    Swift

    @objc(GSTwistUpAnimation)
    public protocol TwistUpAnimation : Animation
  • Vertical 180 Photo Panorama animation.

    The drone camera performs a 180° rotation on the tilt axis while taking photos at various angles. The resulting set of photos can then be retrieved as a single ‘panorama’ media that may be post-processed to make panoramic images.

    Declaration

    Swift

    @objc(GSVertical180PhotoPanoramaAnimation)
    public protocol Vertical180PhotoPanoramaAnimation : Animation
  • Vertical reveal animation.

    This animation instructs the drone to start looking down, then to fly up slowly looking at the horizon. Once the drone reaches its target altitude, it rotates on itself to perform an horizontal panorama.

    See more

    Declaration

    Swift

    @objc(GSVerticalRevealAnimation)
    public protocol VerticalRevealAnimation : Animation
  • Vertigo animation.

    This animation instructs the drone to zoom in on the target, while the drone moves away from it. The target in question depends on the currently active ActivablePilotingItf.

    See more

    Declaration

    Swift

    @objc(GSVertigoAnimation)
    public protocol VertigoAnimation : Animation
  • Animation piloting interface.

    This piloting interface cannot be activated or deactivated. It is present as soon as a drone supporting animations is connected. It is removed as soon as the drone is disconnected.

    According to different parameters, the list of available animation can change. These parameters can be (not exhaustive):

    • Current activated piloting interface
    • Information about the controller (such as location)
    • Internal state of the drone (such as battery level, gps fix…)

    This peripheral can be retrieved by:

    (id<AnimationPilotingItf>) [drone getPilotingItf:GSPilotingItfs.animation]
    

    Note

    this protocol is for Objective-C only. Swift must use the protocol AnimationPilotingItf.
    See more

    Declaration

    Swift

    @objc
    public protocol GSAnimationPilotingItf : PilotingItf
  • A guided flight directive, of any GuidedType.

    See more

    Declaration

    Swift

    @objc(GSGuidedDirective)
    public protocol GuidedDirective
  • Directive for a move to a relative position (Move By).

    See more

    Declaration

    Swift

    @objc(GSRelativeMoveDirective)
    public protocol RelativeMoveDirective : GuidedDirective
  • Information about a finished guided flight.

    See more

    Declaration

    Swift

    @objc(GSFinishedFlightInfo)
    public protocol FinishedFlightInfo
  • Information about a finished location guided flight. Describes the initial directive and the final state of the flight.

    See more

    Declaration

    Swift

    @objc(GSFinishedLocationFlightInfo)
    public protocol FinishedLocationFlightInfo : FinishedFlightInfo
  • Information about a finished relative move guided flight. Describes the initial directive, the move that the drone actually did and the final state of the flight.

    See more

    Declaration

    Swift

    @objc(GSFinishedRelativeMoveFlightInfo)
    public protocol FinishedRelativeMoveFlightInfo : FinishedFlightInfo
  • Protocol that provides functions to get piloting interfaces. Those methods should no be used from swift

    See more

    Declaration

    Swift

    @objc
    public protocol GSPilotingItfProvider
  • A Point Of Interest to look at.

    See more

    Declaration

    Swift

    @objc(GSPointOfInterest)
    public protocol PointOfInterest
  • Preferred return home target. Drone will select this target if all conditions for it are met.

    See more

    Declaration

    Swift

    @objc(GSReturnHomePreferredTarget)
    public protocol ReturnHomePreferredTarget
  • Setting providing access to the mode (FollowMode) setup.

    See more

    Declaration

    Swift

    public protocol FollowModeSetting : AnyObject
  • Setting providing access to the mode (FollowMode) setup.

    This protocol is Objective-C only. Swift must use FollowModeSetting.

    See more

    Declaration

    Swift

    @objc
    public protocol GSFollowModeSetting
  • Objective-C version of FollowMePilotingItf.

    During an activated FollowMe, the drone will always look at the target but can be piloted normally. However, yaw value is not settable. Camera tilt and pan command is ignored by the drone.

    Note

    This class is for Objective-C only and must not be used in Swift.
    See more

    Declaration

    Swift

    @objc
    public protocol GSFollowMePilotingItf : ActivablePilotingItf, PilotingItf
  • Objective-C version of LookAtPilotingItf.

    During an activated LookAt, the drone will always look at the target but can be piloted normally. However, yaw value is not settable. Camera tilt and pan command is ignored by the drone.

    Note

    This class is for Objective-C only and must not be used in Swift.
    See more

    Declaration

    Swift

    @objc
    public protocol GSLookAtPilotingItf : ActivablePilotingItf, PilotingItf
  • Provides extraneous information on a firmware, such as the size of the firmware update file, or special outcomes that updating a device using this firmware may produce.

    See more

    Declaration

    Swift

    public protocol FirmwareInfo
  • Provides extraneous information on a firmware, such as the size of the firmware update file, or special outcomes that updating a device using this firmware may produce.

    Note

    this protocol is for Objective-C only. Swift must use the protocol FirmwareInfo
    See more

    Declaration

    Swift

    @objc
    public protocol GSFirmwareInfo
  • File replay source to stream.

    See more

    Declaration

    Swift

    @objc(GSFileReplaySource)
    public protocol FileReplaySource
  • Histogram data.

    See more

    Declaration

    Swift

    @objc(GSHistogram)
    public protocol Histogram
  • Stream sink interface.

    Declaration

    Swift

    @objc(GSStreamSinkConfig)
    public protocol StreamSinkConfig
  • Stream sink interface.

    See more

    Declaration

    Swift

    @objc(GSStreamSink)
    public protocol StreamSink
  • Texture loader data.

    See more

    Declaration

    Swift

    @objc(GSTextureLoaderFrame)
    public protocol TextureLoaderFrame