DJI Mobile SDK 4.7 to 4.8 Differences


API changes

4.7 Parent and Name4.7 Code4.8 Parent and Name4.8 CodeParentNameTypeParamReturn
dji.sdk.flightcontroller.rtk.RTK.setRtkEnabledvoid setRtkEnabled(boolean enabled, @Nullable final CompletionCallback callback) dji.sdk.flightcontroller.RTK.setRtkEnabledvoid setRtkEnabled(boolean enabled, @Nullable final CompletionCallback callback)
X
dji.sdk.remotecontroller.RemoteController.requestGimbalControlvoid requestGimbalControl(@NonNull CompletionCallbackWith<RequestGimbalControlResult> callback)dji.sdk.remotecontroller.RemoteController.requestLegacyGimbalControlvoid requestLegacyGimbalControl(@NonNull CompletionCallbackWith<RequestGimbalControlResult> callback)
X
dji.sdk.flightcontroller.rtk.RTK.isConnectedboolean isConnected()dji.sdk.flightcontroller.RTK.isConnectedboolean isConnected()
X
dji.sdk.flightcontroller.rtk.RTKclass RTK dji.sdk.flightcontroller.RTKclass RTK
X
dji.sdk.flightcontroller.rtk.RTK.setStateCallbackvoid setStateCallback(@Nullable RTKState.Callback callback) dji.sdk.flightcontroller.RTK.setStateCallbackvoid setStateCallback(@Nullable RTKState.Callback callback)
X

APIs removed from 4.7

Parent and NameCode
dji.common.error.DJIFlightControllerError.OBJECT_EMPTY_OR_NOT_AVAILABLEstatic final DJIFlightControllerError OBJECT_EMPTY_OR_NOT_AVAILABLE = new DJIFlightControllerError(" ")
dji.common.error.DJIFlightControllerError.UNSUPPORTEDstatic final DJIFlightControllerError UNSUPPORTED = new DJIFlightControllerError("Unsupported")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_GOINGHOMEstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_GOINGHOME = new DJIFlightControllerError("The aircraft is going home")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_IN_NOFLYZONEstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_IN_NOFLYZONE = new DJIFlightControllerError("The aircraft is in the no fly zone")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_LANDINGstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_LANDING = new DJIFlightControllerError("The aircraft is landing")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_NOT_IN_THE_AIRstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_NOT_IN_THE_AIR = new DJIFlightControllerError("The aircraft is not in the air")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_STARTING_MOTORstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_STARTING_MOTOR = new DJIFlightControllerError("The aircraft is starting the motor")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_TAKINGOFFstatic final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_TAKINGOFF = new DJIFlightControllerError("The aircraft is taking off")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_ALTITUDE_TOO_HIGHstatic final DJIFlightControllerError MISSION_RESULT_ALTITUDE_TOO_HIGH = new DJIFlightControllerError("The altitude is too high")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_ALTITUDE_TOO_LOWstatic final DJIFlightControllerError MISSION_RESULT_ALTITUDE_TOO_LOW = new DJIFlightControllerError("The altitude is too low")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_BEGANstatic final DJIFlightControllerError MISSION_RESULT_BEGAN = new DJIFlightControllerError("began")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_CANCELEDstatic final DJIFlightControllerError MISSION_RESULT_CANCELED = new DJIFlightControllerError("canceled")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_DISTANCE_FROM_MISSION_TARGET_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_DISTANCE_FROM_MISSION_TARGET_TOO_LONG = new DJIFlightControllerError("The distance from mission target position is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_FAILEDstatic final DJIFlightControllerError MISSION_RESULT_FAILED = new DJIFlightControllerError("failed")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_FOLLOWME_DISCONNECT_TIME_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_FOLLOWME_DISCONNECT_TIME_TOO_LONG = new DJIFlightControllerError("The disconnect time of follow me mission is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_FOLLOWME_DISTANCE_TOO_LARGEstatic final DJIFlightControllerError MISSION_RESULT_FOLLOWME_DISTANCE_TOO_LARGE = new DJIFlightControllerError("Distance between the aircraft and mobile phone is beyond acceptable limit(must be lower than 20000m)")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_FOLLOWME_GIMBAL_PITCH_ERRORstatic final DJIFlightControllerError MISSION_RESULT_FOLLOWME_GIMBAL_PITCH_ERROR = new DJIFlightControllerError("The initial pitch angle of gimbal is too large")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_GPS_NOT_READYstatic final DJIFlightControllerError MISSION_RESULT_GPS_NOT_READY = new DJIFlightControllerError("GPS of aircraft is not ready")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_GPS_SIGNAL_WEAKstatic final DJIFlightControllerError MISSION_RESULT_GPS_SIGNAL_WEAK = new DJIFlightControllerError("The GPS signal of the aircraft is weak")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HIGH_PRIORITY_MISSION_EXECUTINGstatic final DJIFlightControllerError MISSION_RESULT_HIGH_PRIORITY_MISSION_EXECUTING = new DJIFlightControllerError("A higher priority mission is executing")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_DIRECTION_UNKNOWNstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_DIRECTION_UNKNOWN = new DJIFlightControllerError("The direction of the home point is unknown")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_LOCATION_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_LOCATION_INVALID = new DJIFlightControllerError("The latitude and longitude of the home point are invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_NOT_PAUSEDstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_NOT_PAUSED = new DJIFlightControllerError("The home point is not paused")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_NOT_RECORDEDstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_NOT_RECORDED = new DJIFlightControllerError("The home point of aircraft is not recorded")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_PAUSEDstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_PAUSED = new DJIFlightControllerError("The home point is paused")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_VALUE_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_VALUE_INVALID = new DJIFlightControllerError("The home point is not a valid float value")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IN_NOVICE_MODEstatic final DJIFlightControllerError MISSION_RESULT_IN_NOVICE_MODE = new DJIFlightControllerError("The aircraft is in novice mode now")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IOC_TYPE_UNKNOWNstatic final DJIFlightControllerError MISSION_RESULT_IOC_TYPE_UNKNOWN = new DJIFlightControllerError("The type of IOC is unknown")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IOC_WORKINGstatic final DJIFlightControllerError MISSION_RESULT_IOC_WORKING = new DJIFlightControllerError("The IOC mode is working")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IS_FLYINGstatic final DJIFlightControllerError MISSION_RESULT_IS_FLYING = new DJIFlightControllerError("Aircraft is flying")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_KEY_LEVEL_LOWstatic final DJIFlightControllerError MISSION_RESULT_KEY_LEVEL_LOW = new DJIFlightControllerError("The API key provided to you is not at the correct permission level")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_LOW_BATTERYstatic final DJIFlightControllerError MISSION_RESULT_LOW_BATTERY = new DJIFlightControllerError("Low battery level warning")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MC_MODE_ERRORstatic final DJIFlightControllerError MISSION_RESULT_MC_MODE_ERROR = new DJIFlightControllerError("The mode of the main controller is error")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_ACROSS_NOFLYZONEstatic final DJIFlightControllerError MISSION_RESULT_MISSION_ACROSS_NOFLYZONE = new DJIFlightControllerError("The mission is across the no fly zone")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_CONDITION_NOT_SATISFIEDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_CONDITION_NOT_SATISFIED = new DJIFlightControllerError("The condition of the mission is not satisfied")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_CONFLICTstatic final DJIFlightControllerError MISSION_RESULT_MISSION_CONFLICT = new DJIFlightControllerError("There is a conflicting setting in the mission")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_ENTRYPOINT_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_ENTRYPOINT_INVALID = new DJIFlightControllerError("The entry point of the mission is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_ESTIMATE_TIME_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_MISSION_ESTIMATE_TIME_TOO_LONG = new DJIFlightControllerError("The estimated time for the mission is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_HEADING_MODE_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_HEADING_MODE_INVALID = new DJIFlightControllerError("The heading mode of the mission is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_INFO_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_INFO_INVALID = new DJIFlightControllerError("The information of the mission is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_NOT_EXISTstatic final DJIFlightControllerError MISSION_RESULT_MISSION_NOT_EXIST = new DJIFlightControllerError("The mission does not exist")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_NOT_INITstatic final DJIFlightControllerError MISSION_RESULT_MISSION_NOT_INIT = new DJIFlightControllerError("The mission is not initialized")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_PARAM_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_PARAM_INVALID = new DJIFlightControllerError("The parameters of the mission are invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_RADIUS_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_RADIUS_INVALID = new DJIFlightControllerError("The radius of the mission is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_RADIUS_OVERLIMITEDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_RADIUS_OVERLIMITED = new DJIFlightControllerError("The radius of mission is over the acceptable limit")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_RESUME_FAILEDstatic final DJIFlightControllerError MISSION_RESULT_MISSION_RESUME_FAILED = new DJIFlightControllerError("Failed to resume the mission")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_SPEED_TOO_LARGEstatic final DJIFlightControllerError MISSION_RESULT_MISSION_SPEED_TOO_LARGE = new DJIFlightControllerError("The speed of the mission is too large")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MODE_ERRORstatic final DJIFlightControllerError MISSION_RESULT_MODE_ERROR = new DJIFlightControllerError("The control mode of the aircraft is not in the correct state")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MOTOR_NOT_STARTstatic final DJIFlightControllerError MISSION_RESULT_MOTOR_NOT_START = new DJIFlightControllerError("The aircraft's motor has not started")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_NAVIGATION_IS_NOT_OPENstatic final DJIFlightControllerError MISSION_RESULT_NAVIGATION_IS_NOT_OPEN = new DJIFlightControllerError("Navigation is not open")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_NOT_AUTO_MODEstatic final DJIFlightControllerError MISSION_RESULT_NOT_AUTO_MODE = new DJIFlightControllerError("Aircraft is not in the auto mode")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_RC_MODE_ERRORstatic final DJIFlightControllerError MISSION_RESULT_RC_MODE_ERROR = new DJIFlightControllerError("Mode error, intelligent missions require that the remote controller's mode switch is in 'F' (or 'P' for N3 and A3 based aircraft or if 'F' mode does not exist)")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_TAKEOFFstatic final DJIFlightControllerError MISSION_RESULT_TAKEOFF = new DJIFlightControllerError("Aircraft is taking off")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_TIMEOUTstatic final DJIFlightControllerError MISSION_RESULT_TIMEOUT = new DJIFlightControllerError("Execution of this process has timed out")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_TOO_CLOSE_TO_HOMEPOINTstatic final DJIFlightControllerError MISSION_RESULT_TOO_CLOSE_TO_HOMEPOINT = new DJIFlightControllerError("Aircraft is too close to home point")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_UNKNOWNstatic final DJIFlightControllerError MISSION_RESULT_UNKNOWN = new DJIFlightControllerError("Unknown result")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_UNSUPPORTED_NAVIGATION_FOR_THE_PRODUCTstatic final DJIFlightControllerError MISSION_RESULT_UNSUPPORTED_NAVIGATION_FOR_THE_PRODUCT = new DJIFlightControllerError("Navigation in the product is unsupported")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_UPLOAD_WAYPOINT_NUM_MAX_LIMITstatic final DJIFlightControllerError MISSION_RESULT_UPLOAD_WAYPOINT_NUM_MAX_LIMIT = new DJIFlightControllerError("Waypoint mission has reached the maximum points limit")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINTS_UPLOADINGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINTS_UPLOADING = new DJIFlightControllerError("The waypoints are still uploading")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_ACTION_PARAM_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_ACTION_PARAM_INVALID = new DJIFlightControllerError("The parameter of the waypoint action is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_DAMPING_CHECK_FAILEDstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_DAMPING_CHECK_FAILED = new DJIFlightControllerError("The damping check is failed")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_DISTANCE_TOO_CLOSEstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_DISTANCE_TOO_CLOSE = new DJIFlightControllerError("The waypoint distance is too close")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_DISTANCE_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_DISTANCE_TOO_LONG = new DJIFlightControllerError("The waypoint distance is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_IDLE_VELOCITY_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_IDLE_VELOCITY_INVALID = new DJIFlightControllerError("The idle velocity is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_INDEX_OVERRANGEstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_INDEX_OVERRANGE = new DJIFlightControllerError("The index of the waypoint is over range")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_INFO_INVALIDstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_INFO_INVALID = new DJIFlightControllerError("The information of the waypoint is invalid")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_MISSION_INFO_NOT_UPLOADEDstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_MISSION_INFO_NOT_UPLOADED = new DJIFlightControllerError("The info of the waypoint mission is not completely uploaded")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_NOT_RUNNINGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_NOT_RUNNING = new DJIFlightControllerError("The waypoint mission is not running")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_REQUEST_IS_RUNNINGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_REQUEST_IS_RUNNING = new DJIFlightControllerError("The waypoint request is running")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_TOTAL_TRACE_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_TOTAL_TRACE_TOO_LONG = new DJIFlightControllerError("The total trace of the waypoint is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_TRACE_TOO_LONGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_TRACE_TOO_LONG = new DJIFlightControllerError("The trace of the waypoint is too long")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_UPLOADINGstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_UPLOADING = new DJIFlightControllerError("Waypoint mission is uploading")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_UPLOAD_NOT_COMPLETEstatic final DJIFlightControllerError MISSION_RESULT_WAYPOINT_UPLOAD_NOT_COMPLETE = new DJIFlightControllerError("The waypoint uploading is not complete")
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WRONG_CMDstatic final DJIFlightControllerError MISSION_RESULT_WRONG_CMD = new DJIFlightControllerError("The command is wrong")
dji.common.error.DJIFlightControllerError.ALREADY_IN_THE_AIRstatic final DJIFlightControllerError ALREADY_IN_THE_AIR = new DJIFlightControllerError("If the motors are already turned on or the aircraft is already flying, the takeoff() did not execute.")
dji.sdk.camera.VideoFeeder.getCallback VideoDataCallback getCallback()
dji.sdk.camera.VideoFeeder.setCallback void setCallback(@Nullable VideoDataCallback callback)
dji.sdk.camera.VideoFeeder.VideoDataCallbackinterface VideoDataCallback
dji.sdk.camera.VideoFeeder.onReceive void onReceive(byte[] videoBuffer, int size)

APIs added to 4.8

Parent and NameCode
dji.sdk.flightcontroller.AccessLockerclass AccessLocker
dji.common.flightcontroller.accesslocker.FormattingProgressStateenum FormattingProgressState
dji.common.flightcontroller.accesslocker.FormattingProgressState.FAILURE FAILURE(3)
dji.common.flightcontroller.accesslocker.FormattingProgressState.FORMATTING FORMATTING(1)
dji.common.flightcontroller.accesslocker.FormattingProgressState.NONE NONE(0)
dji.common.flightcontroller.accesslocker.FormattingProgressState.SUCCESSFUL SUCCESSFUL(2)
dji.common.flightcontroller.accesslocker.FormattingStatefinal class FormattingState
dji.common.flightcontroller.accesslocker.FormattingState.Callbackinterface Callback
dji.common.flightcontroller.accesslocker.FormattingState.onUpdate void onUpdate(@NonNull FormattingState state)
dji.common.flightcontroller.accesslocker.FormattingState.getDJIDataLockerErrorDJIError getDJIDataLockerError()
dji.common.flightcontroller.accesslocker.FormattingState.getProgressStateFormattingProgressState getProgressState()
dji.common.flightcontroller.accesslocker.AccessLockerStateenum AccessLockerState
dji.common.flightcontroller.accesslocker.AccessLockerState.Callbackinterface Callback
dji.common.flightcontroller.accesslocker.AccessLockerState.onUpdate void onUpdate(@NonNull AccessLockerState state)
dji.common.flightcontroller.accesslocker.AccessLockerState.LOCKED LOCKED
dji.common.flightcontroller.accesslocker.AccessLockerState.NOT_INITIALIZED NOT_INITIALIZED
dji.common.flightcontroller.accesslocker.AccessLockerState.UNKNOWN UNKNOWN
dji.common.flightcontroller.accesslocker.AccessLockerState.UNLOCKED UNLOCKED
dji.common.flightcontroller.accesslocker.UserAccountInfoclass UserAccountInfo
dji.common.flightcontroller.accesslocker.UserAccountInfo.UserAccountInfoUserAccountInfo(String username, String securityCode)
dji.common.flightcontroller.accesslocker.UserAccountInfo.getSecurityCodeString getSecurityCode()
dji.common.flightcontroller.accesslocker.UserAccountInfo.getUsernameString getUsername()
dji.sdk.flightcontroller.AccessLocker.formatvoid format(@Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.flightcontroller.AccessLocker.getUserAccountvoid getUserAccount(@NonNull CommonCallbacks.CompletionCallbackWith<String> callback)
dji.sdk.flightcontroller.AccessLocker.getVersionvoid getVersion(@NonNull CommonCallbacks.CompletionCallbackWith<Integer> callback)
dji.sdk.flightcontroller.AccessLocker.loginvoid login(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.flightcontroller.AccessLocker.modifyUserAccountvoid modifyUserAccount(@NonNull UserAccountInfo currentUserAccountInfo, @NonNull UserAccountInfo newUserAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.flightcontroller.AccessLocker.resetUserAccountvoid resetUserAccount(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.flightcontroller.AccessLocker.setAccessLockerStateCallbackvoid setAccessLockerStateCallback(@Nullable AccessLockerState.Callback callback)
dji.sdk.flightcontroller.AccessLocker.setFormattingStateCallbackvoid setFormattingStateCallback(@Nullable FormattingState.Callback callback)
dji.sdk.flightcontroller.AccessLocker.setUpUserAccountvoid setUpUserAccount(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback)
dji.sdk.flightcontroller.AccessLocker.getStateAccessLockerState getState()
dji.sdk.accessory.AccessoryAggregationclass AccessoryAggregation extends BaseComponent
dji.common.accessory.AccessoryAggregationStateclass AccessoryAggregationState
dji.common.accessory.AccessoryAggregationState.Callbackinterface Callback
dji.common.accessory.AccessoryAggregationState.onUpdate void onUpdate(AccessoryAggregationState state)
dji.common.accessory.AccessoryAggregationState.isBeaconConnectedboolean isBeaconConnected()
dji.common.accessory.AccessoryAggregationState.isSpeakerConnectedboolean isSpeakerConnected()
dji.common.accessory.AccessoryAggregationState.isSpotlightConnectedboolean isSpotlightConnected()
dji.sdk.accessory.beacon.Beaconclass Beacon extends BaseComponent
dji.sdk.accessory.beacon.Beacon.getEnabledvoid getEnabled(CommonCallbacks.CompletionCallbackWith<Boolean> callback)
dji.sdk.accessory.beacon.Beacon.setEnabledvoid setEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
dji.sdk.accessory.speaker.Speakerclass Speaker extends BaseComponent
dji.sdk.accessory.speaker.AudioFileInfoclass AudioFileInfo
dji.sdk.accessory.speaker.AudioFileInfo.AudioFileInfoAudioFileInfo(String fileName, SettingsDefinitions.AudioStorageLocation storageLocation)
dji.sdk.accessory.speaker.AudioFileInfo.getFileNameString getFileName()
dji.sdk.accessory.speaker.AudioFileInfo.getStorageLocationSettingsDefinitions.AudioStorageLocation getStorageLocation()
dji.common.accessory.SpeakerDataTransmissionStateenum SpeakerDataTransmissionState
dji.common.accessory.SpeakerDataTransmissionState.IDLE IDLE
dji.common.accessory.SpeakerDataTransmissionState.READY_TO_TRANSMIT READY_TO_TRANSMIT
dji.common.accessory.SpeakerDataTransmissionState.TRANSMITING TRANSMITING
dji.common.accessory.SpeakerDataTransmissionState.UNKNOWN UNKNOWN
dji.common.accessory.PlayModeenum PlayMode
dji.common.accessory.PlayMode.REPEAT_SINGLE REPEAT_SINGLE(1)
dji.common.accessory.PlayMode.SINGLE_ONCE SINGLE_ONCE(0)
dji.common.accessory.PlayMode.UNKNOWN UNKNOWN(0xFF)
dji.common.accessory.SpeakerPlayingStateenum SpeakerPlayingState
dji.common.accessory.SpeakerPlayingState.PLAYING PLAYING
dji.common.accessory.SpeakerPlayingState.STOPPED STOPPED
dji.common.accessory.SpeakerPlayingState.UNKNOWN UNKNOWN
dji.common.accessory.SpeakerStatefinal class SpeakerState
dji.common.accessory.SpeakerState.Callbackinterface Callback
dji.common.accessory.SpeakerState.onUpdate void onUpdate(SpeakerState state)
dji.common.accessory.SpeakerState.getStorageLocationSettingsDefinitions.AudioStorageLocation getStorageLocation()
dji.common.accessory.SpeakerState.getPlayingIndexint getPlayingIndex()
dji.common.accessory.SpeakerState.getPlayingModeSettingsDefinitions.PlayMode getPlayingMode()
dji.common.accessory.SpeakerState.getPlayingStateSettingsDefinitions.SpeakerPlayingState getPlayingState()
dji.common.accessory.SpeakerState.getVolumeint getVolume()
dji.sdk.accessory.speaker.TransmissionListenerinterface TransmissionListener
dji.sdk.accessory.speaker.onFailure void onFailure(DJIError error)
dji.sdk.accessory.speaker.onFinish void onFinish(int index)
dji.sdk.accessory.speaker.onProgress void onProgress(int dataSize)
dji.sdk.accessory.speaker.onStart void onStart()
dji.sdk.accessory.speaker.Speaker.addFileListStateListenervoid addFileListStateListener(FileListStateListener listener)
dji.sdk.accessory.speaker.Speaker.cancelTransmissionvoid cancelTransmission()
dji.sdk.accessory.speaker.Speaker.getDataTransmissionStateSpeakerDataTransmissionState getDataTransmissionState()
dji.sdk.accessory.speaker.Speaker.deletevoid delete(@NonNull List<Integer> fileIndices, final CommonCallbacks.CompletionCallbackWithTwoParam<List<Integer>, DJIError> callback)
dji.sdk.accessory.speaker.Speaker.getFileListStateFileListState getFileListState()
dji.sdk.accessory.speaker.Speaker.getFileListSnapshotList<AudioMediaFile> getFileListSnapshot()
dji.sdk.accessory.speaker.Speaker.markEOFDJIError markEOF()
dji.sdk.accessory.speaker.Speaker.paceDataboolean paceData(@NonNull @Size(MAX_INPUT_SIZE) byte[] data)
dji.sdk.accessory.speaker.Speaker.playvoid play(int fileIndex, @Nullable final CompletionCallback callback)
dji.sdk.accessory.speaker.Speaker.refreshFileListvoid refreshFileList(final CommonCallbacks.CompletionCallback callback)
dji.sdk.accessory.speaker.Speaker.removeFileListStateListenervoid removeFileListStateListener(FileListStateListener listener)
dji.sdk.accessory.speaker.Speaker.renamevoid rename(int index, String filename, final CommonCallbacks.CompletionCallback callback)
dji.sdk.accessory.speaker.Speaker.setPlayModevoid setPlayMode(@NonNull SettingsDefinitions.PlayMode mode, @Nullable final CompletionCallback callback)
dji.sdk.accessory.speaker.Speaker.setStateCallbackvoid setStateCallback(@Nullable SpeakerState.Callback callback)
dji.sdk.accessory.speaker.Speaker.setVolumevoid setVolume(@IntRange(from = MIN_VOLUME, to = MAX_VOLUME) int value, @Nullable final CompletionCallback callback)
dji.sdk.accessory.speaker.Speaker.startTransmissionvoid startTransmission(@NonNull AudioFileInfo info, @Nullable final TransmissionListener listener)
dji.sdk.accessory.speaker.Speaker.stopvoid stop(@Nullable final CompletionCallback callback)
dji.sdk.accessory.spotlight.Spotlightclass Spotlight extends BaseComponent
dji.common.accessory.SpotlightStateclass SpotlightState
dji.common.accessory.SpotlightState.Callbackinterface Callback
dji.common.accessory.SpotlightState.onUpdate void onUpdate(SpotlightState state)
dji.common.accessory.SpotlightState.getBrightnessint getBrightness()
dji.common.accessory.SpotlightState.getTemperaturefloat getTemperature()
dji.sdk.accessory.spotlight.Spotlight.getEnabledvoid getEnabled(@NonNull CommonCallbacks.CompletionCallbackWith<Boolean> callback)
dji.sdk.accessory.spotlight.Spotlight.setBrightnessvoid setBrightness(@IntRange(from = 1, to = 100) int value, @Nullable final CommonCallbacks.CompletionCallback callback)
dji.sdk.accessory.spotlight.Spotlight.setEnabledvoid setEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback)
dji.sdk.accessory.spotlight.Spotlight.setStateCallbackvoid setStateCallback(@Nullable SpotlightState.Callback callback)
dji.sdk.accessory.spotlight.Spotlight.getStateSpotlightState getState()
dji.sdk.accessory.AccessoryAggregation.getBeaconBeacon getBeacon()
dji.sdk.accessory.AccessoryAggregation.getAccessoryAggregationStateAccessoryAggregationState getAccessoryAggregationState()
dji.sdk.accessory.AccessoryAggregation.setStateCallbackvoid setStateCallback(@Nullable AccessoryAggregationState.Callback callback)
dji.sdk.accessory.AccessoryAggregation.getSpeakerSpeaker getSpeaker()
dji.sdk.accessory.AccessoryAggregation.getSpotlightSpotlight getSpotlight()
dji.keysdk.AccessoryAggregationKeyclass AccessoryAggregationKey extends DJIKey
dji.keysdk.AccessoryAggregationKey.createBeaconKeystatic AccessoryAggregationKey createBeaconKey(@BeaconParamKey @NonNull String paramKey)
dji.keysdk.AccessoryAggregationKey.createSpeakerKeystatic AccessoryAggregationKey createSpeakerKey(@SpeakerParamKey @NonNull String paramKey)
dji.keysdk.AccessoryAggregationKey.createSpotlightKeystatic AccessoryAggregationKey createSpotlightKey(@SpotlightParamKey @NonNull String paramKey)
dji.keysdk.AccessoryAggregationKey.createstatic AccessoryAggregationKey create(@AccessoryAggregationParamKey @NonNull String paramKey)
dji.keysdk.AccessoryAggregationKey.createstatic AccessoryAggregationKey create(@AccessoryAggregationParamKey @NonNull String paramKey, @IntRange(from = 0, to = MAX_COMPONENT_INDEX) int componentIndex)
dji.common.product.Model.MAVIC_2_ENTERPRISE MAVIC_2_ENTERPRISE("Mavic 2 Enterprise")
dji.sdk.base.BaseProduct.ComponentKey.ACCESSORY_AGGREGATION ACCESSORY_AGGREGATION
dji.sdk.base.BaseProduct.getAccessoryAggregationAccessoryAggregation getAccessoryAggregation()
dji.common.battery.BatteryState.getSelfHeatingStateSelfHeatingState getSelfHeatingState()
dji.common.battery.SelfHeatingStateenum SelfHeatingState
dji.common.battery.SelfHeatingState.IDLE IDLE(0)
dji.common.battery.SelfHeatingState.PRESERVING PRESERVING(2)
dji.common.battery.SelfHeatingState.UNKNOWN UNKNOWN(0xFF)
dji.common.battery.SelfHeatingState.WARMING_UP WARMING_UP(1)
dji.common.flightcontroller.flightassistant.BottomAuxiliaryLightMode.BEACON BEACON(3)
dji.sdk.camera.Camera.DisplayNameMavic2EnterpriseCamerastatic final String DisplayNameMavic2EnterpriseCamera = DJICameraAbstraction.DisplayNameMavic2EnterpriseCamera
dji.common.camera.WatermarkSettingsclass WatermarkSettings
dji.common.camera.WatermarkSettings.WatermarkSettingsWatermarkSettings(boolean enabledForVideos, boolean enabledForPhotos)
dji.common.camera.WatermarkSettings.isEnabledForPhotosboolean isEnabledForPhotos()
dji.common.camera.WatermarkSettings.isEnabledForVideosboolean isEnabledForVideos()
dji.sdk.camera.Camera.getWatermarkSettingsvoid getWatermarkSettings(@NonNull final CompletionCallbackWith<WatermarkSettings> callback)
dji.sdk.camera.Camera.setWatermarkSettingsvoid setWatermarkSettings(WatermarkSettings config, @Nullable final CompletionCallback callback)
dji.common.error.DJIAccessLockerErrorclass DJIAccessLockerError extends DJIError
dji.common.error.DJIAccessLockerError.ALREADY_UNLOCKEDstatic final DJIAccessLockerError ALREADY_UNLOCKED = new DJIAccessLockerError("The aircraft is already unlocked.")
dji.common.error.DJIAccessLockerError.FIRMWARE_READ_ERRORstatic final DJIAccessLockerError FIRMWARE_READ_ERROR = new DJIAccessLockerError("Read failure when accessing data in the firmware.")
dji.common.error.DJIAccessLockerError.FIRMWARE_WRITE_ERRORstatic final DJIAccessLockerError FIRMWARE_WRITE_ERROR = new DJIAccessLockerError("Write failure when updating data in the firmware.")
dji.common.error.DJIAccessLockerError.INVALID_STATEstatic final DJIAccessLockerError INVALID_STATE = new DJIAccessLockerError("The command is not valid in current state.")
dji.common.error.DJIAccessLockerError.NOT_SET_UP_ERRORstatic final DJIAccessLockerError NOT_SET_UP_ERROR = new DJIAccessLockerError("The user account is not set up for the security feature yet.")
dji.common.error.DJIAccessLockerError.SECURITY_CODE_FORMAT_INVALIDstatic final DJIAccessLockerError SECURITY_CODE_FORMAT_INVALID= new DJIAccessLockerError("The new security code is not valid.A valid security code should contain only numbers and letters and its length is not less than 6 characters and not longer than 8 characters.")
dji.common.error.DJIAccessLockerError.SECURITY_CODE_INCORRECTstatic final DJIAccessLockerError SECURITY_CODE_INCORRECT= new DJIAccessLockerError("The security code is incorrect.")
dji.common.error.DJIAccessLockerError.SECURITY_CODE_INCORRECT_FIVE_TIMESstatic final DJIAccessLockerError SECURITY_CODE_INCORRECT_FIVE_TIMES = new DJIAccessLockerError("Attempt with wrong security codes more than 5 times. The aircraft is disable and try again in 1 minute.")
dji.common.error.DJIAccessLockerError.SECURITY_CODE_INCORRECT_TWENTY_TIMESstatic final DJIAccessLockerError SECURITY_CODE_INCORRECT_TWENTY_TIMES = new DJIAccessLockerError("Attempt with wrong security codes more than 20 times. The aircraft is disable and try again in 24 hours.")
dji.common.error.DJIAccessLockerError.USERNAME_NOT_EXISTstatic final DJIAccessLockerError USERNAME_NOT_EXIST = new DJIAccessLockerError("The username does not exist.")
dji.common.error.DJIAccessoryAggregationErrorclass DJIAccessoryAggregationError extends DJIError
dji.common.error.DJIAccessoryAggregationError.CANCELED_BY_USERstatic final DJIAccessoryAggregationError CANCELED_BY_USER = new DJIAccessoryAggregationError("The ongoing data transmission is cancelled.")
dji.common.error.DJIAccessoryAggregationError.DATA_CORRUPTION_ERRORstatic final DJIAccessoryAggregationError DATA_CORRUPTION_ERROR = new DJIAccessoryAggregationError("Data validation failed. Data is corrupted during the transmission.")
dji.common.error.DJIAccessoryAggregationError.DATA_TRANSMISSION_DISCONNECTION_ERRORstatic final DJIAccessoryAggregationError DATA_TRANSMISSION_DISCONNECTION_ERROR = new DJIAccessoryAggregationError("The connection of the speaker is broken and data transmission cannot start.")
dji.common.error.DJIAccessoryAggregationError.FILE_CREATED_ERRORstatic final DJIAccessoryAggregationError FILE_CREATED_ERROR = new DJIAccessoryAggregationError("An error occurs when creating the file.")
dji.common.error.DJIAccessoryAggregationError.FILE_INDEX_UNAVAIABLE_ERRORstatic final DJIAccessoryAggregationError FILE_INDEX_UNAVAIABLE_ERROR = new DJIAccessoryAggregationError("There is no more file index available for the file.")
dji.common.error.DJIAccessoryAggregationError.DUPLICATION_OF_FILE_NAMEstatic final DJIAccessoryAggregationError DUPLICATION_OF_FILE_NAME = new DJIAccessoryAggregationError("The file name is already taken in the aircraft. Choose a different file name.")
dji.common.error.DJIAccessoryAggregationError.FILE_NAME_EMPTY_ERRORstatic final DJIAccessoryAggregationError FILE_NAME_EMPTY_ERROR = new DJIAccessoryAggregationError("A file name cannot be empty.")
dji.common.error.DJIAccessoryAggregationError.FILE_NAME_LENGTH_INVALIDstatic final DJIAccessoryAggregationError FILE_NAME_LENGTH_INVALID = new DJIAccessoryAggregationError("The file name exceeds the maximum length (20 characters).")
dji.common.error.DJIAccessoryAggregationError.FILE_NOT_EXIST_ERRORstatic final DJIAccessoryAggregationError FILE_NOT_EXIST_ERROR = new DJIAccessoryAggregationError("The file does not exist.")
dji.common.error.DJIAccessoryAggregationError.INTERRUPTED_BY_TIMEOUT_ERRORstatic final DJIAccessoryAggregationError INTERRUPTED_BY_TIMEOUT_ERROR = new DJIAccessoryAggregationError("The ongoing data transmission is interrupted by timeout error.")
dji.common.error.DJIAccessoryAggregationError.ACCESSORY_NOT_CONNECTED_ERRORstatic final DJIAccessoryAggregationError ACCESSORY_NOT_CONNECTED_ERROR = new DJIAccessoryAggregationError("The accessory is not connected.")
dji.common.error.DJIAccessoryAggregationError.REJECTED_BY_FIRMWAREstatic final DJIAccessoryAggregationError REJECTED_BY_FIRMWARE = new DJIAccessoryAggregationError("The operation is rejected by the firmware because state error.")
dji.common.error.DJIAccessoryAggregationError.RENAME_FILE_ERRORstatic final DJIAccessoryAggregationError RENAME_FILE_ERROR = new DJIAccessoryAggregationError("Error occurs when renaming the file.")
dji.common.error.DJIAccessoryAggregationError.STORAGE_FULLstatic final DJIAccessoryAggregationError STORAGE_FULL = new DJIAccessoryAggregationError("The storage is full.")
dji.common.error.DJIAccessoryAggregationError.WRONG_DATA_TRANSIMISSION_STATEstatic final DJIAccessoryAggregationError WRONG_DATA_TRANSIMISSION_STATE = new DJIAccessoryAggregationError("The data transimission operation cannot be executed in the current state.")
dji.keysdk.FlightControllerKey.createAccessLockerKeystatic FlightControllerKey createAccessLockerKey( @AccessLockerParamKey @NonNull String paramKey)
dji.sdk.flightcontroller.FlightController.getAccessLockerAccessLocker getAccessLocker()
dji.sdk.flightcontroller.FlightController.isAccessLockerSupportedboolean isAccessLockerSupported()
dji.sdk.media.MediaManager.FileListState.RENAMING RENAMING
dji.sdk.media.AudioMediaFileclass AudioMediaFile extends MediaFile
dji.common.accessory.AudioStorageLocationenum AudioStorageLocation
dji.common.accessory.AudioStorageLocation.PERSISTENT PERSISTENT(2)
dji.common.accessory.AudioStorageLocation.TEMPORARY TEMPORARY(1)
dji.common.accessory.AudioStorageLocation.UNKNOWN UNKNOWN(0xFF)
dji.sdk.media.AudioMediaFile.getAudioStorageLocationSettingsDefinitions.AudioStorageLocation getAudioStorageLocation()
dji.common.remotecontroller.MasterSlaveState.hasGimbalControlboolean hasGimbalControl()
dji.sdk.remotecontroller.RemoteController.DisplayNameCendencestatic final String DisplayNameCendence = DJIRCAbstraction.DisplayNameCendence
dji.sdk.remotecontroller.RemoteController.DisplayNameInspire1static final String DisplayNameInspire1 = DJIRCAbstraction.DisplayNameInspire1
dji.sdk.remotecontroller.RemoteController.DisplayNameInspire2static final String DisplayNameInspire2 = DJIRCAbstraction.DisplayNameInspire2
dji.sdk.remotecontroller.RemoteController.DisplayNameLightbridge2static final String DisplayNameLightbridge2 = DJIRCAbstraction.DisplayNameLightbridge2
dji.sdk.remotecontroller.RemoteController.DisplayNameMavic2static final String DisplayNameMavic2 = DJIRCAbstraction.DisplayNameMavic2
dji.sdk.remotecontroller.RemoteController.DisplayNameMavicAirstatic final String DisplayNameMavicAir = DJIRCAbstraction.DisplayNameMavicAir
dji.sdk.remotecontroller.RemoteController.DisplayNameMavicProstatic final String DisplayNameMavicPro = DJIRCAbstraction.DisplayNameMavicPro
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom3Professinalstatic final String DisplayNamePhantom3Professinal = DJIRCAbstraction.DisplayNamePhantom3Professinal
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom3Standardstatic final String DisplayNamePhantom3Standard = DJIRCAbstraction.DisplayNamePhantom3Standard
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4Advancedstatic final String DisplayNamePhantom4Advanced = DJIRCAbstraction.DisplayNamePhantom4Advanced
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4Prostatic final String DisplayNamePhantom4Pro = DJIRCAbstraction.DisplayNamePhantom4Pro
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4ProV2static final String DisplayNamePhantom4ProV2 = DJIRCAbstraction.DisplayNamePhantom4ProV2
dji.sdk.remotecontroller.RemoteController.DisplayNameSparkstatic final String DisplayNameSpark = DJIRCAbstraction.DisplayNameSpark
dji.sdk.remotecontroller.RemoteController.requestGimbalControlvoid requestGimbalControl(@Nullable CompletionCallback callback)
dji.sdk.useraccount.UserAccountManager.UserAccountStateChangeListenerinterface UserAccountStateChangeListener
dji.sdk.useraccount.UserAccountManager.onUserAccountStateChanged void onUserAccountStateChanged(UserAccountState state, UserAccountInformation information)
dji.sdk.useraccount.UserAccountManager.addUserAccountStateChangeListenervoid addUserAccountStateChangeListener(UserAccountStateChangeListener listener)
dji.sdk.useraccount.UserAccountManager.removeUserAccountStateChangeListenervoid removeUserAccountStateChangeListener(UserAccountStateChangeListener listener)
dji.sdk.camera.VideoFeeder.addVideoDataListener boolean addVideoDataListener(@NonNull final VideoDataListener listener)
dji.sdk.camera.VideoFeeder.destroy void destroy()
dji.sdk.camera.VideoFeeder.getListeners Set<VideoDataListener> getListeners()
dji.sdk.camera.VideoFeeder.removeVideoDataListener boolean removeVideoDataListener(VideoDataListener listener)
dji.sdk.camera.VideoFeeder.VideoDataListenerinterface VideoDataListener
dji.sdk.camera.VideoFeeder.onReceive void onReceive(byte[] videoBuffer, int size)

fb5f6ab 5c04423 bd2b636 92a32bf 0ee4a98 98e6670