4.7 Parent and Name | 4.7 Code | 4.8 Parent and Name | 4.8 Code | Parent | Name | Type | Param | Return |
dji.sdk.flightcontroller.rtk.RTK.setRtkEnabled | void setRtkEnabled(boolean enabled, @Nullable final CompletionCallback callback) | dji.sdk.flightcontroller.RTK.setRtkEnabled | void setRtkEnabled(boolean enabled, @Nullable final CompletionCallback callback) | X | ||||
dji.sdk.remotecontroller.RemoteController.requestGimbalControl | void requestGimbalControl(@NonNull CompletionCallbackWith<RequestGimbalControlResult> callback) | dji.sdk.remotecontroller.RemoteController.requestLegacyGimbalControl | void requestLegacyGimbalControl(@NonNull CompletionCallbackWith<RequestGimbalControlResult> callback) | X | ||||
dji.sdk.flightcontroller.rtk.RTK.isConnected | boolean isConnected() | dji.sdk.flightcontroller.RTK.isConnected | boolean isConnected() | X | ||||
dji.sdk.flightcontroller.rtk.RTK | class RTK | dji.sdk.flightcontroller.RTK | class RTK | X | ||||
dji.sdk.flightcontroller.rtk.RTK.setStateCallback | void setStateCallback(@Nullable RTKState.Callback callback) | dji.sdk.flightcontroller.RTK.setStateCallback | void setStateCallback(@Nullable RTKState.Callback callback) | X |
Parent and Name | Code |
dji.common.error.DJIFlightControllerError.OBJECT_EMPTY_OR_NOT_AVAILABLE | static final DJIFlightControllerError OBJECT_EMPTY_OR_NOT_AVAILABLE = new DJIFlightControllerError(" ") |
dji.common.error.DJIFlightControllerError.UNSUPPORTED | static final DJIFlightControllerError UNSUPPORTED = new DJIFlightControllerError("Unsupported") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_GOINGHOME | static final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_GOINGHOME = new DJIFlightControllerError("The aircraft is going home") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_IN_NOFLYZONE | static final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_IN_NOFLYZONE = new DJIFlightControllerError("The aircraft is in the no fly zone") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_LANDING | static final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_LANDING = new DJIFlightControllerError("The aircraft is landing") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_NOT_IN_THE_AIR | static 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_MOTOR | static final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_STARTING_MOTOR = new DJIFlightControllerError("The aircraft is starting the motor") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_AIRCRAFT_TAKINGOFF | static final DJIFlightControllerError MISSION_RESULT_AIRCRAFT_TAKINGOFF = new DJIFlightControllerError("The aircraft is taking off") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_ALTITUDE_TOO_HIGH | static final DJIFlightControllerError MISSION_RESULT_ALTITUDE_TOO_HIGH = new DJIFlightControllerError("The altitude is too high") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_ALTITUDE_TOO_LOW | static final DJIFlightControllerError MISSION_RESULT_ALTITUDE_TOO_LOW = new DJIFlightControllerError("The altitude is too low") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_BEGAN | static final DJIFlightControllerError MISSION_RESULT_BEGAN = new DJIFlightControllerError("began") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_CANCELED | static final DJIFlightControllerError MISSION_RESULT_CANCELED = new DJIFlightControllerError("canceled") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_DISTANCE_FROM_MISSION_TARGET_TOO_LONG | static 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_FAILED | static final DJIFlightControllerError MISSION_RESULT_FAILED = new DJIFlightControllerError("failed") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_FOLLOWME_DISCONNECT_TIME_TOO_LONG | static 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_LARGE | static 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_ERROR | static 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_READY | static final DJIFlightControllerError MISSION_RESULT_GPS_NOT_READY = new DJIFlightControllerError("GPS of aircraft is not ready") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_GPS_SIGNAL_WEAK | static 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_EXECUTING | static final DJIFlightControllerError MISSION_RESULT_HIGH_PRIORITY_MISSION_EXECUTING = new DJIFlightControllerError("A higher priority mission is executing") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_DIRECTION_UNKNOWN | static 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_INVALID | static 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_PAUSED | static final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_NOT_PAUSED = new DJIFlightControllerError("The home point is not paused") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_NOT_RECORDED | static final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_NOT_RECORDED = new DJIFlightControllerError("The home point of aircraft is not recorded") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_PAUSED | static final DJIFlightControllerError MISSION_RESULT_HOMEPOINT_PAUSED = new DJIFlightControllerError("The home point is paused") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_HOMEPOINT_VALUE_INVALID | static 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_MODE | static final DJIFlightControllerError MISSION_RESULT_IN_NOVICE_MODE = new DJIFlightControllerError("The aircraft is in novice mode now") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IOC_TYPE_UNKNOWN | static final DJIFlightControllerError MISSION_RESULT_IOC_TYPE_UNKNOWN = new DJIFlightControllerError("The type of IOC is unknown") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IOC_WORKING | static final DJIFlightControllerError MISSION_RESULT_IOC_WORKING = new DJIFlightControllerError("The IOC mode is working") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_IS_FLYING | static final DJIFlightControllerError MISSION_RESULT_IS_FLYING = new DJIFlightControllerError("Aircraft is flying") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_KEY_LEVEL_LOW | static 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_BATTERY | static final DJIFlightControllerError MISSION_RESULT_LOW_BATTERY = new DJIFlightControllerError("Low battery level warning") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MC_MODE_ERROR | static 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_NOFLYZONE | static 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_SATISFIED | static 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_CONFLICT | static final DJIFlightControllerError MISSION_RESULT_MISSION_CONFLICT = new DJIFlightControllerError("There is a conflicting setting in the mission") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_ENTRYPOINT_INVALID | static 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_LONG | static 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_INVALID | static 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_INVALID | static final DJIFlightControllerError MISSION_RESULT_MISSION_INFO_INVALID = new DJIFlightControllerError("The information of the mission is invalid") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_NOT_EXIST | static final DJIFlightControllerError MISSION_RESULT_MISSION_NOT_EXIST = new DJIFlightControllerError("The mission does not exist") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_NOT_INIT | static final DJIFlightControllerError MISSION_RESULT_MISSION_NOT_INIT = new DJIFlightControllerError("The mission is not initialized") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_PARAM_INVALID | static final DJIFlightControllerError MISSION_RESULT_MISSION_PARAM_INVALID = new DJIFlightControllerError("The parameters of the mission are invalid") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_RADIUS_INVALID | static final DJIFlightControllerError MISSION_RESULT_MISSION_RADIUS_INVALID = new DJIFlightControllerError("The radius of the mission is invalid") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_RADIUS_OVERLIMITED | static 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_FAILED | static final DJIFlightControllerError MISSION_RESULT_MISSION_RESUME_FAILED = new DJIFlightControllerError("Failed to resume the mission") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_MISSION_SPEED_TOO_LARGE | static 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_ERROR | static 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_START | static 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_OPEN | static final DJIFlightControllerError MISSION_RESULT_NAVIGATION_IS_NOT_OPEN = new DJIFlightControllerError("Navigation is not open") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_NOT_AUTO_MODE | static final DJIFlightControllerError MISSION_RESULT_NOT_AUTO_MODE = new DJIFlightControllerError("Aircraft is not in the auto mode") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_RC_MODE_ERROR | static 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_TAKEOFF | static final DJIFlightControllerError MISSION_RESULT_TAKEOFF = new DJIFlightControllerError("Aircraft is taking off") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_TIMEOUT | static final DJIFlightControllerError MISSION_RESULT_TIMEOUT = new DJIFlightControllerError("Execution of this process has timed out") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_TOO_CLOSE_TO_HOMEPOINT | static final DJIFlightControllerError MISSION_RESULT_TOO_CLOSE_TO_HOMEPOINT = new DJIFlightControllerError("Aircraft is too close to home point") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_UNKNOWN | static final DJIFlightControllerError MISSION_RESULT_UNKNOWN = new DJIFlightControllerError("Unknown result") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_UNSUPPORTED_NAVIGATION_FOR_THE_PRODUCT | static 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_LIMIT | static 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_UPLOADING | static final DJIFlightControllerError MISSION_RESULT_WAYPOINTS_UPLOADING = new DJIFlightControllerError("The waypoints are still uploading") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_ACTION_PARAM_INVALID | static 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_FAILED | static final DJIFlightControllerError MISSION_RESULT_WAYPOINT_DAMPING_CHECK_FAILED = new DJIFlightControllerError("The damping check is failed") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_DISTANCE_TOO_CLOSE | static 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_LONG | static 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_INVALID | static final DJIFlightControllerError MISSION_RESULT_WAYPOINT_IDLE_VELOCITY_INVALID = new DJIFlightControllerError("The idle velocity is invalid") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_INDEX_OVERRANGE | static 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_INVALID | static 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_UPLOADED | static 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_RUNNING | static final DJIFlightControllerError MISSION_RESULT_WAYPOINT_NOT_RUNNING = new DJIFlightControllerError("The waypoint mission is not running") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_REQUEST_IS_RUNNING | static 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_LONG | static 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_LONG | static 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_UPLOADING | static final DJIFlightControllerError MISSION_RESULT_WAYPOINT_UPLOADING = new DJIFlightControllerError("Waypoint mission is uploading") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WAYPOINT_UPLOAD_NOT_COMPLETE | static final DJIFlightControllerError MISSION_RESULT_WAYPOINT_UPLOAD_NOT_COMPLETE = new DJIFlightControllerError("The waypoint uploading is not complete") |
dji.common.error.DJIFlightControllerError.MISSION_RESULT_WRONG_CMD | static final DJIFlightControllerError MISSION_RESULT_WRONG_CMD = new DJIFlightControllerError("The command is wrong") |
dji.common.error.DJIFlightControllerError.ALREADY_IN_THE_AIR | static 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.VideoDataCallback | interface VideoDataCallback |
dji.sdk.camera.VideoFeeder.onReceive | void onReceive(byte[] videoBuffer, int size) |
Parent and Name | Code |
dji.sdk.flightcontroller.AccessLocker | class AccessLocker |
dji.common.flightcontroller.accesslocker.FormattingProgressState | enum 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.FormattingState | final class FormattingState |
dji.common.flightcontroller.accesslocker.FormattingState.Callback | interface Callback |
dji.common.flightcontroller.accesslocker.FormattingState.onUpdate | void onUpdate(@NonNull FormattingState state) |
dji.common.flightcontroller.accesslocker.FormattingState.getDJIDataLockerError | DJIError getDJIDataLockerError() |
dji.common.flightcontroller.accesslocker.FormattingState.getProgressState | FormattingProgressState getProgressState() |
dji.common.flightcontroller.accesslocker.AccessLockerState | enum AccessLockerState |
dji.common.flightcontroller.accesslocker.AccessLockerState.Callback | interface 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.UserAccountInfo | class UserAccountInfo |
dji.common.flightcontroller.accesslocker.UserAccountInfo.UserAccountInfo | UserAccountInfo(String username, String securityCode) |
dji.common.flightcontroller.accesslocker.UserAccountInfo.getSecurityCode | String getSecurityCode() |
dji.common.flightcontroller.accesslocker.UserAccountInfo.getUsername | String getUsername() |
dji.sdk.flightcontroller.AccessLocker.format | void format(@Nullable CommonCallbacks.CompletionCallback callback) |
dji.sdk.flightcontroller.AccessLocker.getUserAccount | void getUserAccount(@NonNull CommonCallbacks.CompletionCallbackWith<String> callback) |
dji.sdk.flightcontroller.AccessLocker.getVersion | void getVersion(@NonNull CommonCallbacks.CompletionCallbackWith<Integer> callback) |
dji.sdk.flightcontroller.AccessLocker.login | void login(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback) |
dji.sdk.flightcontroller.AccessLocker.modifyUserAccount | void modifyUserAccount(@NonNull UserAccountInfo currentUserAccountInfo, @NonNull UserAccountInfo newUserAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback) |
dji.sdk.flightcontroller.AccessLocker.resetUserAccount | void resetUserAccount(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback) |
dji.sdk.flightcontroller.AccessLocker.setAccessLockerStateCallback | void setAccessLockerStateCallback(@Nullable AccessLockerState.Callback callback) |
dji.sdk.flightcontroller.AccessLocker.setFormattingStateCallback | void setFormattingStateCallback(@Nullable FormattingState.Callback callback) |
dji.sdk.flightcontroller.AccessLocker.setUpUserAccount | void setUpUserAccount(@NonNull UserAccountInfo userAccountInfo, @Nullable CommonCallbacks.CompletionCallback callback) |
dji.sdk.flightcontroller.AccessLocker.getState | AccessLockerState getState() |
dji.sdk.accessory.AccessoryAggregation | class AccessoryAggregation extends BaseComponent |
dji.common.accessory.AccessoryAggregationState | class AccessoryAggregationState |
dji.common.accessory.AccessoryAggregationState.Callback | interface Callback |
dji.common.accessory.AccessoryAggregationState.onUpdate | void onUpdate(AccessoryAggregationState state) |
dji.common.accessory.AccessoryAggregationState.isBeaconConnected | boolean isBeaconConnected() |
dji.common.accessory.AccessoryAggregationState.isSpeakerConnected | boolean isSpeakerConnected() |
dji.common.accessory.AccessoryAggregationState.isSpotlightConnected | boolean isSpotlightConnected() |
dji.sdk.accessory.beacon.Beacon | class Beacon extends BaseComponent |
dji.sdk.accessory.beacon.Beacon.getEnabled | void getEnabled(CommonCallbacks.CompletionCallbackWith<Boolean> callback) |
dji.sdk.accessory.beacon.Beacon.setEnabled | void setEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker | class Speaker extends BaseComponent |
dji.sdk.accessory.speaker.AudioFileInfo | class AudioFileInfo |
dji.sdk.accessory.speaker.AudioFileInfo.AudioFileInfo | AudioFileInfo(String fileName, SettingsDefinitions.AudioStorageLocation storageLocation) |
dji.sdk.accessory.speaker.AudioFileInfo.getFileName | String getFileName() |
dji.sdk.accessory.speaker.AudioFileInfo.getStorageLocation | SettingsDefinitions.AudioStorageLocation getStorageLocation() |
dji.common.accessory.SpeakerDataTransmissionState | enum 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.PlayMode | enum 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.SpeakerPlayingState | enum SpeakerPlayingState |
dji.common.accessory.SpeakerPlayingState.PLAYING | PLAYING |
dji.common.accessory.SpeakerPlayingState.STOPPED | STOPPED |
dji.common.accessory.SpeakerPlayingState.UNKNOWN | UNKNOWN |
dji.common.accessory.SpeakerState | final class SpeakerState |
dji.common.accessory.SpeakerState.Callback | interface Callback |
dji.common.accessory.SpeakerState.onUpdate | void onUpdate(SpeakerState state) |
dji.common.accessory.SpeakerState.getStorageLocation | SettingsDefinitions.AudioStorageLocation getStorageLocation() |
dji.common.accessory.SpeakerState.getPlayingIndex | int getPlayingIndex() |
dji.common.accessory.SpeakerState.getPlayingMode | SettingsDefinitions.PlayMode getPlayingMode() |
dji.common.accessory.SpeakerState.getPlayingState | SettingsDefinitions.SpeakerPlayingState getPlayingState() |
dji.common.accessory.SpeakerState.getVolume | int getVolume() |
dji.sdk.accessory.speaker.TransmissionListener | interface 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.addFileListStateListener | void addFileListStateListener(FileListStateListener listener) |
dji.sdk.accessory.speaker.Speaker.cancelTransmission | void cancelTransmission() |
dji.sdk.accessory.speaker.Speaker.getDataTransmissionState | SpeakerDataTransmissionState getDataTransmissionState() |
dji.sdk.accessory.speaker.Speaker.delete | void delete(@NonNull List<Integer> fileIndices, final CommonCallbacks.CompletionCallbackWithTwoParam<List<Integer>, DJIError> callback) |
dji.sdk.accessory.speaker.Speaker.getFileListState | FileListState getFileListState() |
dji.sdk.accessory.speaker.Speaker.getFileListSnapshot | List<AudioMediaFile> getFileListSnapshot() |
dji.sdk.accessory.speaker.Speaker.markEOF | DJIError markEOF() |
dji.sdk.accessory.speaker.Speaker.paceData | boolean paceData(@NonNull @Size(MAX_INPUT_SIZE) byte[] data) |
dji.sdk.accessory.speaker.Speaker.play | void play(int fileIndex, @Nullable final CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker.refreshFileList | void refreshFileList(final CommonCallbacks.CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker.removeFileListStateListener | void removeFileListStateListener(FileListStateListener listener) |
dji.sdk.accessory.speaker.Speaker.rename | void rename(int index, String filename, final CommonCallbacks.CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker.setPlayMode | void setPlayMode(@NonNull SettingsDefinitions.PlayMode mode, @Nullable final CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker.setStateCallback | void setStateCallback(@Nullable SpeakerState.Callback callback) |
dji.sdk.accessory.speaker.Speaker.setVolume | void setVolume(@IntRange(from = MIN_VOLUME, to = MAX_VOLUME) int value, @Nullable final CompletionCallback callback) |
dji.sdk.accessory.speaker.Speaker.startTransmission | void startTransmission(@NonNull AudioFileInfo info, @Nullable final TransmissionListener listener) |
dji.sdk.accessory.speaker.Speaker.stop | void stop(@Nullable final CompletionCallback callback) |
dji.sdk.accessory.spotlight.Spotlight | class Spotlight extends BaseComponent |
dji.common.accessory.SpotlightState | class SpotlightState |
dji.common.accessory.SpotlightState.Callback | interface Callback |
dji.common.accessory.SpotlightState.onUpdate | void onUpdate(SpotlightState state) |
dji.common.accessory.SpotlightState.getBrightness | int getBrightness() |
dji.common.accessory.SpotlightState.getTemperature | float getTemperature() |
dji.sdk.accessory.spotlight.Spotlight.getEnabled | void getEnabled(@NonNull CommonCallbacks.CompletionCallbackWith<Boolean> callback) |
dji.sdk.accessory.spotlight.Spotlight.setBrightness | void setBrightness(@IntRange(from = 1, to = 100) int value, @Nullable final CommonCallbacks.CompletionCallback callback) |
dji.sdk.accessory.spotlight.Spotlight.setEnabled | void setEnabled(boolean enabled, @Nullable final CommonCallbacks.CompletionCallback callback) |
dji.sdk.accessory.spotlight.Spotlight.setStateCallback | void setStateCallback(@Nullable SpotlightState.Callback callback) |
dji.sdk.accessory.spotlight.Spotlight.getState | SpotlightState getState() |
dji.sdk.accessory.AccessoryAggregation.getBeacon | Beacon getBeacon() |
dji.sdk.accessory.AccessoryAggregation.getAccessoryAggregationState | AccessoryAggregationState getAccessoryAggregationState() |
dji.sdk.accessory.AccessoryAggregation.setStateCallback | void setStateCallback(@Nullable AccessoryAggregationState.Callback callback) |
dji.sdk.accessory.AccessoryAggregation.getSpeaker | Speaker getSpeaker() |
dji.sdk.accessory.AccessoryAggregation.getSpotlight | Spotlight getSpotlight() |
dji.keysdk.AccessoryAggregationKey | class AccessoryAggregationKey extends DJIKey |
dji.keysdk.AccessoryAggregationKey.createBeaconKey | static AccessoryAggregationKey createBeaconKey(@BeaconParamKey @NonNull String paramKey) |
dji.keysdk.AccessoryAggregationKey.createSpeakerKey | static AccessoryAggregationKey createSpeakerKey(@SpeakerParamKey @NonNull String paramKey) |
dji.keysdk.AccessoryAggregationKey.createSpotlightKey | static AccessoryAggregationKey createSpotlightKey(@SpotlightParamKey @NonNull String paramKey) |
dji.keysdk.AccessoryAggregationKey.create | static AccessoryAggregationKey create(@AccessoryAggregationParamKey @NonNull String paramKey) |
dji.keysdk.AccessoryAggregationKey.create | static 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.getAccessoryAggregation | AccessoryAggregation getAccessoryAggregation() |
dji.common.battery.BatteryState.getSelfHeatingState | SelfHeatingState getSelfHeatingState() |
dji.common.battery.SelfHeatingState | enum 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.DisplayNameMavic2EnterpriseCamera | static final String DisplayNameMavic2EnterpriseCamera = DJICameraAbstraction.DisplayNameMavic2EnterpriseCamera |
dji.common.camera.WatermarkSettings | class WatermarkSettings |
dji.common.camera.WatermarkSettings.WatermarkSettings | WatermarkSettings(boolean enabledForVideos, boolean enabledForPhotos) |
dji.common.camera.WatermarkSettings.isEnabledForPhotos | boolean isEnabledForPhotos() |
dji.common.camera.WatermarkSettings.isEnabledForVideos | boolean isEnabledForVideos() |
dji.sdk.camera.Camera.getWatermarkSettings | void getWatermarkSettings(@NonNull final CompletionCallbackWith<WatermarkSettings> callback) |
dji.sdk.camera.Camera.setWatermarkSettings | void setWatermarkSettings(WatermarkSettings config, @Nullable final CompletionCallback callback) |
dji.common.error.DJIAccessLockerError | class DJIAccessLockerError extends DJIError |
dji.common.error.DJIAccessLockerError.ALREADY_UNLOCKED | static final DJIAccessLockerError ALREADY_UNLOCKED = new DJIAccessLockerError("The aircraft is already unlocked.") |
dji.common.error.DJIAccessLockerError.FIRMWARE_READ_ERROR | static final DJIAccessLockerError FIRMWARE_READ_ERROR = new DJIAccessLockerError("Read failure when accessing data in the firmware.") |
dji.common.error.DJIAccessLockerError.FIRMWARE_WRITE_ERROR | static final DJIAccessLockerError FIRMWARE_WRITE_ERROR = new DJIAccessLockerError("Write failure when updating data in the firmware.") |
dji.common.error.DJIAccessLockerError.INVALID_STATE | static final DJIAccessLockerError INVALID_STATE = new DJIAccessLockerError("The command is not valid in current state.") |
dji.common.error.DJIAccessLockerError.NOT_SET_UP_ERROR | static 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_INVALID | static 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_INCORRECT | static final DJIAccessLockerError SECURITY_CODE_INCORRECT= new DJIAccessLockerError("The security code is incorrect.") |
dji.common.error.DJIAccessLockerError.SECURITY_CODE_INCORRECT_FIVE_TIMES | static 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_TIMES | static 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_EXIST | static final DJIAccessLockerError USERNAME_NOT_EXIST = new DJIAccessLockerError("The username does not exist.") |
dji.common.error.DJIAccessoryAggregationError | class DJIAccessoryAggregationError extends DJIError |
dji.common.error.DJIAccessoryAggregationError.CANCELED_BY_USER | static final DJIAccessoryAggregationError CANCELED_BY_USER = new DJIAccessoryAggregationError("The ongoing data transmission is cancelled.") |
dji.common.error.DJIAccessoryAggregationError.DATA_CORRUPTION_ERROR | static final DJIAccessoryAggregationError DATA_CORRUPTION_ERROR = new DJIAccessoryAggregationError("Data validation failed. Data is corrupted during the transmission.") |
dji.common.error.DJIAccessoryAggregationError.DATA_TRANSMISSION_DISCONNECTION_ERROR | static 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_ERROR | static final DJIAccessoryAggregationError FILE_CREATED_ERROR = new DJIAccessoryAggregationError("An error occurs when creating the file.") |
dji.common.error.DJIAccessoryAggregationError.FILE_INDEX_UNAVAIABLE_ERROR | static 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_NAME | static 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_ERROR | static final DJIAccessoryAggregationError FILE_NAME_EMPTY_ERROR = new DJIAccessoryAggregationError("A file name cannot be empty.") |
dji.common.error.DJIAccessoryAggregationError.FILE_NAME_LENGTH_INVALID | static final DJIAccessoryAggregationError FILE_NAME_LENGTH_INVALID = new DJIAccessoryAggregationError("The file name exceeds the maximum length (20 characters).") |
dji.common.error.DJIAccessoryAggregationError.FILE_NOT_EXIST_ERROR | static final DJIAccessoryAggregationError FILE_NOT_EXIST_ERROR = new DJIAccessoryAggregationError("The file does not exist.") |
dji.common.error.DJIAccessoryAggregationError.INTERRUPTED_BY_TIMEOUT_ERROR | static final DJIAccessoryAggregationError INTERRUPTED_BY_TIMEOUT_ERROR = new DJIAccessoryAggregationError("The ongoing data transmission is interrupted by timeout error.") |
dji.common.error.DJIAccessoryAggregationError.ACCESSORY_NOT_CONNECTED_ERROR | static final DJIAccessoryAggregationError ACCESSORY_NOT_CONNECTED_ERROR = new DJIAccessoryAggregationError("The accessory is not connected.") |
dji.common.error.DJIAccessoryAggregationError.REJECTED_BY_FIRMWARE | static final DJIAccessoryAggregationError REJECTED_BY_FIRMWARE = new DJIAccessoryAggregationError("The operation is rejected by the firmware because state error.") |
dji.common.error.DJIAccessoryAggregationError.RENAME_FILE_ERROR | static final DJIAccessoryAggregationError RENAME_FILE_ERROR = new DJIAccessoryAggregationError("Error occurs when renaming the file.") |
dji.common.error.DJIAccessoryAggregationError.STORAGE_FULL | static final DJIAccessoryAggregationError STORAGE_FULL = new DJIAccessoryAggregationError("The storage is full.") |
dji.common.error.DJIAccessoryAggregationError.WRONG_DATA_TRANSIMISSION_STATE | static final DJIAccessoryAggregationError WRONG_DATA_TRANSIMISSION_STATE = new DJIAccessoryAggregationError("The data transimission operation cannot be executed in the current state.") |
dji.keysdk.FlightControllerKey.createAccessLockerKey | static FlightControllerKey createAccessLockerKey( @AccessLockerParamKey @NonNull String paramKey) |
dji.sdk.flightcontroller.FlightController.getAccessLocker | AccessLocker getAccessLocker() |
dji.sdk.flightcontroller.FlightController.isAccessLockerSupported | boolean isAccessLockerSupported() |
dji.sdk.media.MediaManager.FileListState.RENAMING | RENAMING |
dji.sdk.media.AudioMediaFile | class AudioMediaFile extends MediaFile |
dji.common.accessory.AudioStorageLocation | enum 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.getAudioStorageLocation | SettingsDefinitions.AudioStorageLocation getAudioStorageLocation() |
dji.common.remotecontroller.MasterSlaveState.hasGimbalControl | boolean hasGimbalControl() |
dji.sdk.remotecontroller.RemoteController.DisplayNameCendence | static final String DisplayNameCendence = DJIRCAbstraction.DisplayNameCendence |
dji.sdk.remotecontroller.RemoteController.DisplayNameInspire1 | static final String DisplayNameInspire1 = DJIRCAbstraction.DisplayNameInspire1 |
dji.sdk.remotecontroller.RemoteController.DisplayNameInspire2 | static final String DisplayNameInspire2 = DJIRCAbstraction.DisplayNameInspire2 |
dji.sdk.remotecontroller.RemoteController.DisplayNameLightbridge2 | static final String DisplayNameLightbridge2 = DJIRCAbstraction.DisplayNameLightbridge2 |
dji.sdk.remotecontroller.RemoteController.DisplayNameMavic2 | static final String DisplayNameMavic2 = DJIRCAbstraction.DisplayNameMavic2 |
dji.sdk.remotecontroller.RemoteController.DisplayNameMavicAir | static final String DisplayNameMavicAir = DJIRCAbstraction.DisplayNameMavicAir |
dji.sdk.remotecontroller.RemoteController.DisplayNameMavicPro | static final String DisplayNameMavicPro = DJIRCAbstraction.DisplayNameMavicPro |
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom3Professinal | static final String DisplayNamePhantom3Professinal = DJIRCAbstraction.DisplayNamePhantom3Professinal |
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom3Standard | static final String DisplayNamePhantom3Standard = DJIRCAbstraction.DisplayNamePhantom3Standard |
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4Advanced | static final String DisplayNamePhantom4Advanced = DJIRCAbstraction.DisplayNamePhantom4Advanced |
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4Pro | static final String DisplayNamePhantom4Pro = DJIRCAbstraction.DisplayNamePhantom4Pro |
dji.sdk.remotecontroller.RemoteController.DisplayNamePhantom4ProV2 | static final String DisplayNamePhantom4ProV2 = DJIRCAbstraction.DisplayNamePhantom4ProV2 |
dji.sdk.remotecontroller.RemoteController.DisplayNameSpark | static final String DisplayNameSpark = DJIRCAbstraction.DisplayNameSpark |
dji.sdk.remotecontroller.RemoteController.requestGimbalControl | void requestGimbalControl(@Nullable CompletionCallback callback) |
dji.sdk.useraccount.UserAccountManager.UserAccountStateChangeListener | interface UserAccountStateChangeListener |
dji.sdk.useraccount.UserAccountManager.onUserAccountStateChanged | void onUserAccountStateChanged(UserAccountState state, UserAccountInformation information) |
dji.sdk.useraccount.UserAccountManager.addUserAccountStateChangeListener | void addUserAccountStateChangeListener(UserAccountStateChangeListener listener) |
dji.sdk.useraccount.UserAccountManager.removeUserAccountStateChangeListener | void 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.VideoDataListener | interface VideoDataListener |
dji.sdk.camera.VideoFeeder.onReceive | void onReceive(byte[] videoBuffer, int size) |
fb5f6ab 5c04423 bd2b636 92a32bf 0ee4a98 98e6670