DJI Mobile SDK 4.15.1 to 4.16 Differences


APIs removed from 4.15.1

Parent and NameCode
dji.common.flightcontroller.FlightMode.GPS_ATTI_WRISTBAND GPS_ATTI_WRISTBAND(18)
dji.common.flightcontroller.FlightMode.GPS_NOVICE GPS_NOVICE(32)
dji.common.flightcontroller.FlightMode.GPS_SPORT GPS_SPORT(31)
dji.sdk.sdkmanager.LiveStreamManager.setLiveVideoBitRatevoid setLiveVideoBitRate(float bitRate)

APIs added to 4.16

Parent and NameCode
dji.sdk.mission.activetrack.ActiveTrackOperator.switchQuickShotModevoid switchQuickShotMode(@NonNull QuickShotMode mode, @Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.mission.activetrack.ActiveTrackOperator.switchSpotlightModevoid switchSpotlightMode(@NonNull SpotlightMode spotlightMode, @NonNull CommonCallbacks.CompletionCallback callback)
dji.common.mission.activetrack.SpotlightModeenum SpotlightMode
dji.common.mission.activetrack.SpotlightMode.UNKNOWN UNKNOWN(0xFF)
dji.common.mission.activetrack.SpotlightMode.ZOOM_GIMBAL_FOLLOWING ZOOM_GIMBAL_FOLLOWING(3)
dji.common.mission.activetrack.SpotlightMode.ZOOM_GIMBAL_FREE ZOOM_GIMBAL_FREE(1)
dji.common.mission.activetrack.ActiveTrackMission.getSpotlightModeSpotlightMode getSpotlightMode()
dji.common.mission.activetrack.ActiveTrackMission.setSpotlightModevoid setSpotlightMode(SpotlightMode spotlightMode)
dji.common.product.Model.DJI_AIR_2S DJI_AIR_2S("DJI Air 2S")
dji.common.product.Model.DJI_MINI_2 DJI_MINI_2("DJI Mini 2")
dji.common.product.Model.DJI_MINI_SE DJI_MINI_SE("DJI Mini SE")
dji.common.camera.SettingsDefinitions.ShootPhotoMode.HIGH_RESOLUTION HIGH_RESOLUTION(0x0E, TYPE.HIGH_RESOLUTION)
dji.common.camera.SettingsDefinitions.VideoResolution.RESOLUTION_5472x3078 RESOLUTION_5472x3078(24,56,RATIO_16_9.value())
dji.common.camera.SettingsDefinitions.FlatCameraMode.PHOTO_SUPER_RESOLUTION PHOTO_SUPER_RESOLUTION(0x16)
dji.sdk.camera.Camera.getLiveviewLocationWithGPSvoid getLiveviewLocationWithGPS(@NonNull LocationCoordinate3D pointPos, @NonNull PhysicalSource physicalSource, @NonNull CommonCallbacks.CompletionCallbackWith<PinPointInfo> callback)
dji.sdk.camera.view.PinPointclass PinPoint
dji.sdk.camera.view.PinPointInfoclass PinPointInfo
dji.sdk.camera.view.PinPointInfo.getPinPointsList<PinPoint> getPinPoints()
dji.sdk.camera.view.PinPointInfo.getResultResult getResult()
dji.sdk.camera.view.Resultenum Result
dji.sdk.camera.view.Result.CAMEAR_ERROR CAMEAR_ERROR(-5)
dji.sdk.camera.view.Result.FAILED FAILED(-1)
dji.sdk.camera.view.Result.GIMBAL_ATTI_ERROR GIMBAL_ATTI_ERROR(-4)
dji.sdk.camera.view.Result.INVALID_DRONE_POSITION INVALID_DRONE_POSITION(-2)
dji.sdk.camera.view.Result.INVALID_POINT_POSITION INVALID_POINT_POSITION(-3)
dji.sdk.camera.view.Result.SUCCESS SUCCESS(0)
dji.sdk.camera.view.Result.SUCCESS_BUT_OUT_OF_SCREEN SUCCESS_BUT_OUT_OF_SCREEN(1)
dji.sdk.camera.view.PinPoint.getXfloat getX()
dji.sdk.camera.view.PinPoint.getYfloat getY()
dji.common.camera.SuperResolutionInfoclass SuperResolutionInfo
dji.common.camera.SuperResolutionInfo.Callbackinterface Callback
dji.common.camera.SuperResolutionInfo.Callback.onUpdate void onUpdate(SuperResolutionInfo SuperResolutionInfo )
dji.common.camera.SuperResolutionInfo.getCaptureAreaRectF getCaptureArea()
dji.common.camera.SuperResolutionInfo.getCaptureColNumint getCaptureColNum()
dji.common.camera.SuperResolutionInfo.getCaptureRemainingTimeint getCaptureRemainingTime()
dji.common.camera.SuperResolutionInfo.getCaptureRowNumint getCaptureRowNum()
dji.common.camera.SuperResolutionInfo.getMaxAreaRectF getMaxArea()
dji.common.camera.SuperResolutionInfo.getProgressint getProgress()
dji.common.camera.SuperResolutionInfo.getStatusSettingsDefinitions.SuperResolutionStatus getStatus()
dji.common.camera.SuperResolutionInfo.getZoomCapturedCountint getZoomCapturedCount()
dji.common.camera.SuperResolutionInfo.getZoomTotalCountint getZoomTotalCount()
dji.common.camera.SuperResolutionInfo.isStorageOverFlowboolean isStorageOverFlow()
dji.common.camera.SettingsDefinitions.SuperResolutionStatusenum SuperResolutionStatus
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.EXIT_GIMBAL_ABNORMAL_MOVE EXIT_GIMBAL_ABNORMAL_MOVE(6)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.EXIT_GIMBAL_BLOCK EXIT_GIMBAL_BLOCK(5)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.EXIT_OUT_OF_STORAGE EXIT_OUT_OF_STORAGE(3)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.EXIT_SHOOT_FAIL EXIT_SHOOT_FAIL(4)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.FINISH FINISH(2)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.IN_PROGRESS IN_PROGRESS(1)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.SELECTING SELECTING(0)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.TIP_GIMBAL_OUT_OF_RANGE TIP_GIMBAL_OUT_OF_RANGE(7)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.TIP_OUT_OF_ZOOM TIP_OUT_OF_ZOOM(8)
dji.common.camera.SettingsDefinitions.SuperResolutionStatus.UNKNOWN UNKNOWN(0xFF)
dji.sdk.camera.Camera.isSuperResolutionSupportedboolean isSuperResolutionSupported()
dji.sdk.camera.Camera.setSuperResolutionCaptureAreavoid setSuperResolutionCaptureArea(@NonNull RectF area, @Nullable final CommonCallbacks.CompletionCallback callback)
dji.sdk.camera.Camera.setSuperResolutionInfoCallbackvoid setSuperResolutionInfoCallback(@Nullable SuperResolutionInfo.Callback superResStateCallback)
dji.internal.diagnostics.DJIDiagnosticsError.CAMERA_ABNORMAL_REBOOT CAMERA_ABNORMAL_REBOOT(1014)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_AIRCRAFT_NORMAL_FLIGHT_ATTI FLIGHT_CONTROLLER_AIRCRAFT_NORMAL_FLIGHT_ATTI(8108)
dji.internal.diagnostics.DJIDiagnosticsError.CAMERA_CHIP_OVER_HEAT_STOP_RECORD_WARNING CAMERA_CHIP_OVER_HEAT_STOP_RECORD_WARNING(1013)
dji.internal.diagnostics.DJIDiagnosticsError.AIR_LINK_CHIPS_TEMPERATURE_DANGEREROUS AIR_LINK_CHIPS_TEMPERATURE_DANGEREROUS(7010)
dji.internal.diagnostics.DJIDiagnosticsError.AIR_LINK_CHIPS_TEMPERATURE_DANGEREROUS_IN_AIR AIR_LINK_CHIPS_TEMPERATURE_DANGEREROUS_IN_AIR(7012)
dji.internal.diagnostics.DJIDiagnosticsError.AIR_LINK_CHIPS_TEMPERATURE_WARNING AIR_LINK_CHIPS_TEMPERATURE_WARNING(7009)
dji.internal.diagnostics.DJIDiagnosticsError.AIR_LINK_CHIPS_TEMPERATURE_WARNING_IN_AIR AIR_LINK_CHIPS_TEMPERATURE_WARNING_IN_AIR(7011)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_FLIGHT_ACTION_FLY_LIMIT_ZONE_LANDING FLIGHT_CONTROLLER_FLIGHT_ACTION_FLY_LIMIT_ZONE_LANDING(8110)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_FORBID_SIDE_FLY_ERROR FLIGHT_CONTROLLER_FORBID_SIDE_FLY_ERROR(8021)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_HEIGHT_LIMIT_MOVE_TO_OPEN_FIELD FLIGHT_CONTROLLER_HEIGHT_LIMIT_MOVE_TO_OPEN_FIELD(10031)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_MOTOR_POWER_ABNORMAL_NEED_CHECK FLIGHT_CONTROLLER_MOTOR_POWER_ABNORMAL_NEED_CHECK(8109)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_MOTOR_START_ERROR FLIGHT_CONTROLLER_MOTOR_START_ERROR(8018)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_MOTOR_STOP_REASON FLIGHT_CONTROLLER_MOTOR_STOP_REASON(8020)
dji.internal.diagnostics.DJIDiagnosticsError.FLIGHT_CONTROLLER_NO_PROPELLER FLIGHT_CONTROLLER_NO_PROPELLER(8019)
dji.internal.diagnostics.DJIDiagnosticsError.PRODUCT_AIRCRAFT_DISCONNECTED PRODUCT_AIRCRAFT_DISCONNECTED(11001)
dji.internal.diagnostics.DJIDiagnosticsError.PRODUCT_RC_DISCONNECTED PRODUCT_RC_DISCONNECTED(11002)
dji.sdk.base.DJIDiagnostics.DJIDiagnosticsType.PRODUCT PRODUCT(12)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_FOCAL_DISTANCE_INVALID = new DJIWaypointV2Error("Illegal zoom focal length.", -15007)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_FOCUS_PARAM_XY_INVALID = new DJIWaypointV2Error("Camera focus param xy exceed valid range [0, 1].", -15004)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_SEND_FOCALIZE_CMD_TO_CAMERA_FAILED = new DJIWaypointV2Error("Fail to send camera zoom command cause of no camera or camera is busy. ", -15006)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_SEND_FOCUS_CMD_TO_CAMERA_FAILED = new DJIWaypointV2Error("Fail to send camera focus command cause of no camera or camera is busy.", -15005)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_SEND_SINGLE_SHOT_CMD_TO_CAMERA_FAILED = new DJIWaypointV2Error("Fail to send shoot photo command to camera cause of no camera or camera is busy", -15001)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_SEND_VIDEO_START_CMD_TO_CAMERA_FAILED = new DJIWaypointV2Error("Fail to send start record command to camera cause of no camera or camera is busy. ", -15002)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_CAMERA_SEND_VIDEO_STOP_CMD_TO_CAMERA_FAILED = new DJIWaypointV2Error("Fail to send video stop command to camera cause of no camera or camera is not busy", -15003)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_NAVIGATION_EXEC_FAILED = new DJIWaypointV2Error("Navigation command execute failed", -14003)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_NAVIGATION_FAIL_TO_PRECISE_SHOOTPOHTO = new DJIWaypointV2Error("Take precise photo failed.", -14001)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_ACTUATOR_NAVIGATION_PRECISE_SHOOTPOHTO_TIMEOUT = new DJIWaypointV2Error("Take precise photo timeout.", -14002)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_FLIGHT_TYPE_NOT_SUPPORT_HOVER = new DJIWaypointV2Error("The current waypoint type(Coordinated turn or Curved route Aircraft continues) does not support setting the action when the waypoint is reached.", -12007)
dji.common.error.DJIWaypointV2Error.DJIWaypointV2Errorstatic DJIWaypointV2Error ACTION_STOP_GIMBAL_UNIFORM_CONTROL_FAILED = new DJIWaypointV2Error("Gimbal is not mounted or unable to execute stop rotation command.", -11005)
dji.common.flightcontroller.FlightMode.GPS_BLAKE GPS_BLAKE(5)
dji.common.flightcontroller.FlightMode.GPS_SPORT GPS_SPORT(31)
dji.common.flightcontroller.FlightMode.HOVER HOVER(4)
dji.sdk.flightcontroller.FlightController.isLockTakeoffWithoutGPSvoid isLockTakeoffWithoutGPS(@NonNull CompletionCallbackWith<Boolean> callback)
dji.sdk.flightcontroller.FlightController.lockTakeoffWithoutGPSvoid lockTakeoffWithoutGPS(boolean lock, @Nullable CompletionCallback<DJIError> callback)
dji.sdk.gimbal.mode.LookAtModeenum LookAtMode
dji.sdk.gimbal.mode.LookAtMode.LOOK_AT_GIMBAL_FOLLOWING LOOK_AT_GIMBAL_FOLLOWING(2)
dji.sdk.gimbal.mode.LookAtMode.LOOK_AT_GIMBAL_FREE LOOK_AT_GIMBAL_FREE(1)
dji.sdk.gimbal.Gimbal.lookAtvoid lookAt(LocationCoordinate3D locationCoordinate3D, LookAtMode mode, final CompletionCallback callback)
dji.sdk.flightcontroller.FlightAssistant.getForbidSideFlyEnablevoid getForbidSideFlyEnable(@NonNull CompletionCallbackWith<Boolean> callback)
dji.sdk.flightcontroller.FlightAssistant.setForbidSideFlyEnablevoid setForbidSideFlyEnable(boolean enabled , @Nullable CompletionCallback callback)
dji.common.perception.DJILidarIMUPreheatStatusenum DJILidarIMUPreheatStatus
dji.common.perception.DJILidarIMUPreheatStatus.PREHEAT_COMPLETED PREHEAT_COMPLETED(0x01)
dji.common.perception.DJILidarIMUPreheatStatus.PREHEATING PREHEATING(0x00)
dji.sdk.lidar.Lidar.DJIPointCloudStatusListener.onIMUPreHeatStatusChange void onIMUPreHeatStatusChange(DJILidarIMUPreheatStatus status)
dji.sdk.sdkmanager.LiveStreamManager.setLiveVideoBitRatevoid setLiveVideoBitRate(float bitRate)
dji.common.error.DJIMissionError.ACTIVETRACK_MUST_ENABLEstatic final DJIMissionError ACTIVETRACK_MUST_ENABLE = new DJIMissionError("Active Track must enabled")
dji.common.remotecontroller.PairingState.FirmwareSwitched FirmwareSwitched(0x04)
dji.common.remotecontroller.PairingState.FirmwareSwitching FirmwareSwitching(0x03)
dji.sdk.remotecontroller.RemoteController.DisplayNameDJIAir2sstatic final String DisplayNameDJIAir2s = DJIRCAbstraction.DisplayNameWM232
dji.sdk.remotecontroller.RemoteController.DisplayNameDJIMini2static final String DisplayNameDJIMini2 = DJIRCAbstraction.DisplayNameWM161
dji.sdk.sdkmanager.DJISDKManager.getFlycLogPathString getFlycLogPath()
dji.common.flightcontroller.FlightMode.CLICK_GO CLICK_GO(16)
dji.common.flightcontroller.FlightMode.GPS_NOVICE GPS_NOVICE(32)
dji.common.flightcontroller.FlightMode.PANO PANO(28)
dji.common.flightcontroller.FlightMode.GPS_ATTI_WRISTBAND GPS_ATTI_WRISTBAND(18)

50ef04d 9b743a5 a618c40 76a6472 bff345b f168c7d 77198ac 7ae0bce a9e5a2e a1da5c9 b2ffaf1 581f068