Constants

The following constants are available globally.

  • DJIAirLink Component Key

    Declaration

    Objective-C

    extern NSString *const DJIAirLinkComponent
  • The Aircraft’s model name is unknown.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameUnknownAircraft
  • The Aircraft’s model name is Inspire 1.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameInspire1
  • The Aircraft’s model name is Inspire 1 Pro.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameInspire1Pro
  • The Aircraft’s model name is Inspire 1 Raw.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameInspire1RAW
  • The Aircraft’s model name is Phantom 3 Professional.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom3Professional
  • The Aircraft’s model name is Phantom 3 Advanced.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom3Advanced
  • The Aircraft’s model name is Phantom 3 Standard.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom3Standard
  • The Aircraft’s model name is Phantom 3 4K.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom34K
  • The Aircraft’s model name is Matrice 100.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameMatrice100
  • The Aircraft’s model name is Phantom 4.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom4
  • The Aircraft’s model name is Matrice 600.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameMatrice600
  • The Aircraft’s model name is Matrice 600 Pro.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameMatrice600Pro
  • The Aircraft’s model name is A3.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameA3
  • The Aircraft’s model name is N3.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameN3
  • The Aircraft’s model name is Mavic Pro.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameMavicPro
  • The Aircraft’s model name is Phantom 4 Pro.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNamePhantom4Pro
  • The Aircraft’s model name is Inspire 2.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIAircraftModelNameInspire2
  • DJIBattery Component Key

    Declaration

    Objective-C

    extern NSString *const DJIBatteryComponent
  • DJIBattery Component Key

    Declaration

    Objective-C

    extern NSString *const DJICameraComponent
  • DJIFlightController Component Key

    Declaration

    Objective-C

    extern NSString *const DJIFlightControllerComponent
  • DJIGimbal Component Key

    Declaration

    Objective-C

    extern NSString *const DJIGimbalComponent
  • Handheld device model name unknown.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameUnknownHandheld
  • Handheld device model name Osmo.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameOsmo
  • Handheld device model name Osmo Pro.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameOsmoPro
  • Handheld device model name Osmo RAW.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameOsmoRAW
  • Handheld device model name Osmo Mobile.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameOsmoMobile
  • Handheld device model name Osmo+.

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJIHandheldModelNameOsmoPlus
  • Maximum radius, in meters, of the circular path the aircraft will fly around the point of interest. Currently 500m.

    Declaration

    Objective-C

    extern const float DJIHotPointMaxRadius
  • Minimum radius, in meters, of the circular path the aircraft will fly around the point of interest. Currently 5m.

    Declaration

    Objective-C

    extern const float DJIHotPointMinRadius
  • DJIRemoteController Component Key

    Declaration

    Objective-C

    extern NSString *const DJIRemoteControllerComponent
  • Project version number for DJISDK.

    Declaration

    Objective-C

    extern double DJISDKVersionNumber
  • Project version string for DJISDK.

    Declaration

    Objective-C

    extern const unsigned char DJISDKVersionString[]
  • Maximum number of actions a single waypoint can have. The maximum supported number is 15.

    Declaration

    Objective-C

    extern const int DJIMaxActionCount
  • Maximum number of times a single waypoint action can be repeated. The maximum supported number is 15.

    Declaration

    Objective-C

    extern const int DJIMaxActionRepeatTimes
  • Maximum number of waypoints allowed in a waypoint mission. This number has been set to 100.

    Declaration

    Objective-C

    extern const int DJIWaypointMissionMaximumWaypointCount
  • Minimum number of waypoints allowed in a waypoint mission. This number has been set to 2.

    Declaration

    Objective-C

    extern const int DJIWaypointMissionMinimumWaypointCount
  • SDK common error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKErrorDomain
  • SDK camera error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKCameraErrorDomain
  • SDK mission error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKMissionErrorDomain
  • SDK battery error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKBatteryErrorDomain
  • SDK gimbal error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKGimbalErrorDomain
  • SDK flight controller domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKFlightControllerErrorDomain
  • SDK remote controller domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKRemoteControllerErrorDomain
  • SDK registration error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKRegistrationErrorDomain
  • SDK GEO error domain

    Declaration

    Objective-C

    extern NSString *const _Nonnull DJISDKGEOErrorDomain
  • Gimbal feature keys used in the gimbalCapability dictionary that holds the complete capability of the gimbal. A negative value in the valid range represents counter-clockwise rotation. A positive value in the valid range represents clockwise rotation.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamAdjustPitch
  • Key string in gimbalCapability associated with whether the gimbal supports yaw axis adjustment. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range in degrees is returned. A negative value in the valid range represents counter-clockwise rotation. A positive value in the valid range represents clockwise rotation. For Gimbal’s that allow a pitch range extension (see DJIGimbalParamPitchRangeExtensionEnabled, the range will be representative of the extended range whether it is enabled or not.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamAdjustYaw
  • Key string in gimbalCapability associated with whether the gimbal supports roll axis adjustment. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range in degrees is returned. A negative value in the valid range represents counter-clockwise rotation. A positive value in the valid range represents clockwise rotation.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamAdjustRoll
  • Key string in gimbalCapability associated with whether the gimbal supports Advanced Settings Profiles. The corresponding value in gimbalCapability is an instance of DJIParamCapability.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamAdvancedSettingsProfile
  • Key string in gimbalCapability associated with whether the gimbal supports a range extension in pitch. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range in degrees is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamPitchRangeExtensionEnabled
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis response speed to manual control can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerSpeedPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis response speed to manual control can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerSpeedYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis smoothing can be adjusted when using manual control. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerSmoothingPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis smoothing can be adjusted when using manual control. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerSmoothingYaw
  • Key string in gimbalCapability associated with whether the gimbal’s manual control pitch axis deadband can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerDeadbandPitch
  • Key string in gimbalCapability associated with whether the gimbal’s manual control yaw axis deadband can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamControllerDeadbandYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis SmoothTrack can be toggled. The corresponding value in gimbalCapability is an instance of DJIParamCapability. Ronin-MX cannot toggle the SmoothTrack functionality and it is always enabled.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackEnabledPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis SmoothTrack can be toggled. The corresponding value in gimbalCapability is an instance of DJIParamCapability. Ronin-MX cannot toggle the SmoothTrack functionality and it is always enabled.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackEnabledYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis SmoothTrack accelaration can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackAccelerationPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis SmoothTrack accelaration can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackAccelerationYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis SmoothTrack speed can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackSpeedPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis SmoothTrack speed can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackSpeedYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis SmoothTrack deadband can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackDeadbandPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis SmoothTrack deadband can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamSmoothTrackDeadbandYaw
  • Key string in gimbalCapability associated with whether the gimbal’s pitch up endpoint can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamEndpointPitchUp
  • Key string in gimbalCapability associated with whether the gimbal’s pitch down endpoint can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamEndpointPitchDown
  • Key string in gimbalCapability associated with whether the gimbal’s yaw left endpoint can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamEndpointYawLeft
  • Key string in gimbalCapability associated with whether the gimbal’s yaw right endpoint can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamEndpointYawRight
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis motor control stiffness can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStiffnessPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis motor control stiffness can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStiffnessYaw
  • Key string in gimbalCapability associated with whether the gimbal’s roll axis motor control stiffness can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStiffnessRoll
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis motor control strength can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStrengthPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis motor control strength can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStrengthYaw
  • Key string in gimbalCapability associated with whether the gimbal’s roll axis motor control strength can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlStrengthRoll
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis motor control gyro filtering can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlGyroFilteringPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis motor control gyro filtering can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlGyroFilteringYaw
  • Key string in gimbalCapability associated with whether the gimbal’s roll axis motor control gyro filtering can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlGyroFilteringRoll
  • Key string in gimbalCapability associated with whether the gimbal’s pitch axis motor control precontrol can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlPrecontrolPitch
  • Key string in gimbalCapability associated with whether the gimbal’s yaw axis motor control precontrol can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlPrecontrolYaw
  • Key string in gimbalCapability associated with whether the gimbal’s roll axis motor control precontrol can be adjusted. The corresponding value in gimbalCapability is an instance of DJIParamCapabilityMinMax meaning both the feature’s existance as well as its possible range (unitless) is returned.

    Declaration

    Objective-C

    extern NSString *const DJIGimbalParamMotorControlPrecontrolRoll