大疆无人机(DJI)SDK

class DJISDKManager

sealed class DJISDKManager
Declaration: DJI.WindowsSDK

Description:

This class is the entry point for using the SDK with a DJI product. Most importantly, this class is used to register the SDK, and to connect to and access the product. This class also provides access to important feature managers. SDK Registration using must be successful before the SDK can be used with a DJI product.

该类是将SDK与DJI产品一起使用的入口点。最重要的是,这个类用于注册SDK,并连接和访问产品。这个类还提供了对重要特性管理器的访问。SDK注册使用必须成功,才能与DJI产品一起使用。

enum AppActivationState

enum AppActivationState
Declaration: DJI.WindowsSDK

Description:

​ App激活状态。

Enum Members:

NOT_SUPPORTED The aircraft’s firmware does not support the App Activation System.
LOGIN_REQUIRED The application needs to be activated by the user through their DJI account. Use UserAccountManager to enable the user to log in. Log in is only required if the aircraft is located in China.
ACTIVATED The application is activated and flight restrictions turned off.
UNKNOWN Either the aircraft is disconnected or the connected product is not a DJI aircraft.

enum AircraftBindingState

enum AircraftBindingState
Declaration: DJI.WindowsSDK

Description:

飞机的捆绑状态。

Enum Members:

INITIAL 飞机的绑定状态尚未确定。只有在DJI运行或基于DJI移动SDK的应用程序授权绑定信息到飞机之前,飞机才会处于这种状态。只有当用户在中国时才需要绑定。如果用户不在中国,那么在国家代码检查完成后,该状态将变为’ NOT_REQUIRED '。在这种状态下,飞机将有30米的高度和50米的半径限制。
UNBOUND 飞机目前没有飞行,需要飞行(因为它在中国)。在这种状态下,飞机将有30m的最大飞行高度和50m的最大飞行距离限制。用户应与DJI Go完成一次性绑定过程,以消除飞行限制。
UNBOUND_BUT_CANNOT_SYNC 这架飞机正在中国境内飞行,目前尚未起飞。该飞机可以使用大疆Go绑定。如果DJI Go连接到飞机上,那么绑定将存储在飞机上。如果DJI Go在绑定过程中没有连接到飞机,那么绑定结果将存储在服务器上。SDK可以查询此服务器查看绑定是否已经发生,如果已经发生,则下载绑定到飞机。但是,如果飞机未绑定,且服务器不可访问,则会显示此状态。用户应该将移动设备连接到Internet以刷新此状态。
BOUND 飞机起飞了。
NOT_SUPORTED 这架飞机的固件不支持App激活系统。
UNKNOWN 要么飞机断开连接,要么连接的产品不是DJI飞机。
NOT_REQUIRED 这架飞机没有飞往中国,但目前不在中国境内。因此,不需要捆绑飞机。

property appActivationState

AppActivationState appActivationState { get; }
Declaration: DJI.WindowsSDK

Description:

当前App激活状态。

property aircraftBindindState

AircraftBindingState aircraftBindindState { get; }
Declaration: DJI.WindowsSDK

Description:

Current Aircraft binding state.

delegate AppActivationStateChangedEventHandler

delegate void AppActivationStateChangedEventHandler(AppActivationState state)
Declaration: DJI.WindowsSDK

Description:

Delegate type that use to subscribe the App Activation state.

用于订阅应用程序激活状态的委托类型。

delegate AircraftBindingStateChangedEventHandler

delegate void AircraftBindingStateChangedEventHandler(AircraftBindingState state)
Declaration: DJI.WindowsSDK

Description:

Delegate type that use to subscribe the aircraft binding state.

用于订阅飞机绑定状态的委托类型。

event AppActivationStateChanged

event AppActivationStateChangedEventHandler AppActivationStateChanged
Declaration: DJI.WindowsSDK

Description:

Subscribe the event to receive the change of App ActivationState state.

订阅事件以接收App ActivationState状态的变化。

event AircraftBindingStateChanged

event AircraftBindingStateChangedEventHandler AircraftBindingStateChanged
Declaration: DJI.WindowsSDK

Description:

Subscribe the event to receive the change of Aircraft Binding State state.

订阅事件以接收飞机绑定状态状态的更改。

enum SDKError

enum SDKError
Declaration: DJI.WindowsSDK

Description:

Error codes that represents errors that may occur when using SDK.

表示在使用SDK时可能发生的错误的错误代码。

Enum Members:

NO_ERROR No error. This code is returned when a command or a query succeeds.
REQUEST_HANDLER_NOT_FOUND The handler for the quest is not not found. One possible reason is that the component is not connected.
REQUEST_NOT_SUPPORTED_BY_HANDLER The request is not supported by the handler.
REQUEST_TIMEOUT The request timeouted. Re-try later.
SEND_PACK_FAILURE SDK failed to send the data to the DJI product. One possible reason is that the link between SDK and the product is not stable.
DISCONNECTED The handler disconnects during the execution.
INVALID_PARAM The parameter is invalid.
SYSTEM_ERROR Internal system error occurs.
COMMAND_INTERRUPTED The command is interrupted.
PARAMETERS_GET_ERROR Error occurs when trying to get the data.
PARAMETERS_SET_ERROR Error occurs when trying to set the data.
INVALID_RESPOND The respond data from the firmware is either empty or corrupted.
PARAM_OUT_OF_RANGE The parameter is out of the valid range.
INVALID_REQUEST_IN_CURRENT_STATE The request is invalid in the current state.
EXECUTION_FAILED The execution is failed.
MISSION_WAYPOINT_NULL_MISSION The mission is null.
MISSION_WAYPOINT_MAX_FLIGHT_SPEED_INVALID The max flight speed exceeds the valid range.
MISSION_WAYPOINT_REPEAT_TIMES_INVALID The repeat times are less than 0.
MISSION_WAYPOINT_COUNT_INVALID The waypoint count is less than 2.
MISSION_WAYPOINT_DISCONNECTED The waypoint handler is in disconnected state. The request is rejected.
MISSION_WAYPOINT_DOWNLOAD_UNNECESSARY The local information of the waypoint mission is complete. It is not necessary to download it from the aircraft.
MISSION_WAYPOINT_ALREADY_STARTED The waypoint mission is already started.
MISSION_WAYPOINT_CANCELLED The request for a waypoint mission is cancelled.
MISSION_WAYPOINT_FAILED The waypoint mission execution failed.
MISSION_WAYPOINT_TIMEOUT The waypoint mission execution timeouted.
MISSION_WAYPOINT_MODE_ERROR The waypoint mission cannot be executed because of the flight mode error.
MISSION_WAYPOINT_GPS_NOT_READY The waypoint mission cannot be executed because of invalid GPS location of the aircraft.
MISSION_WAYPOINT_MOTORS_DID_NOT_START Internal error 0x07.
MISSION_WAYPOINT_TAKE_OFF Internal error 0x08.
MISSION_WAYPOINT_IS_FLYING Internal error 0x09.
MISSION_WAYPOINT_NOT_AUTO_MODE Internal error 0x0A.
MISSION_WAYPOINT_MAX_NUMBER_OF_WAYPOINTS_UPLOAD_LIMIT_REACHED The number of waypoints exceeded the max count.
MISSION_WAYPOINT_UPLOADING_WAYPOINT The handler is uploading waypoints.
MISSION_WAYPOINT_KEY_LEVEL_LOW Internal error 0x0D.
MISSION_WAYPOINT_NAVIGATION_MODE_DISABLED The ground station mode is not enabled.
MISSION_IOC_TOO_CLOSE_TO_HOME_POINT The aircraft is too close to the home point.
MISSION_IOC_TYPE_UNKNOWN Invalid IOC type.
MISSION_HOTPOINT_VALUE_INVALID Invalid parameters.
MISSION_HOTPOINT_LOCATION_INVALID Invalid location as a hotpoint.
MISSION_HOTPOINT_DIRECTION_UNKNOWN Invalid direction.
MISSION_HOTPOINT_MISSION_PAUSED The hotpoint mission is already paused.
MISSION_HOTPOINT_MISSION_NOT_PAUSED The hotpoint mission is already resumed.
MISSION_FOLLOW_ME_DISTANCE_TOO_LARGE The distance between the aircraft and the target is too far.
MISSION_FOLLOW_ME_DISCONNECT_TIME_TOO_LONG The following targer is lost.
MISSION_FOLLOW_ME_GIMBAL_PITCH_ERROR Gimbal’s pitch angle is too large.
MISSION_WAYPOINT_ALTITUDE_TOO_HIGH Aircraft’s altitude is too high.
MISSION_WAYPOINT_ALTITUDE_TOO_LOW Aircraft’s altitude is too low.
MISSION_WAYPOINT_MISSION_RADIUS_INVALID Invalid surrounding radius.
MISSION_WAYPOINT_MISSION_SPEED_TOO_HIGH The circular velocity is too large.
MISSION_WAYPOINT_MISSION_ENTRY_POINT_INVALID Entry point invalid.
MISSION_WAYPOINT_MISSION_HEADING_MODE_INVALID The waypoint has invalid heading.
MISSION_WAYPOINT_MISSION_RESUME_FAILED Failed to resume the mission, because the aircraft is far away from the mission.
MISSION_WAYPOINT_MISSION_RADIUS_OVER_LIMIT Over max flight radius.
MISSION_WAYPOINT_NAVIGATION_MODE_NOT_SUPPORTED Waypoint mission is not supported by the aircraft.
MISSION_WAYPOINT_DISTANCE_FROM_MISSION_TARGET_TOO_LONG Mission start point is too far away from the aircraft’s current location.
MISSION_WAYPOINT_IN_NOVICE_MODE The novice mode is enabled.
MISSION_WAYPOINT_MULTI_MODE_IS_OFF The multiple mode is disabled.
MISSION_WAYPOINT_RTK_IS_NOT_READY RTK is not ready.
MISSION_WAYPOINT_RC_MODE_ERROR RC mode error.
MISSION_WAYPOINT_AIRCRAFT_IN_NO_FLY_ZONE The aircraft is inside a no fly-zone.
MISSION_WAYPOINT_IOC_WORKING The aircraft is in IOC mode.
MISSION_WAYPOINT_MISSION_NOT_INITIALIZED Aircraft’s mission is not initialized.
MISSION_WAYPOINT_MISSION_NOT_EXIST No mission is running.
MISSION_WAYPOINT_MISSION_CONFLICT Other mission is running.
MISSION_WAYPOINT_MISSION_ESTIMATE_TIME_TOO_LONG Mission will consume too much time.
MISSION_WAYPOINT_HIGH_PRIORITY_MISSION_EXECUTING High priority mission is running.
MISSION_WAYPOINT_GPS_SIGNAL_WEAK The GPS signal is weak.
MISSION_WAYPOINT_LOW_BATTERY The remaining charge is too low.
MISSION_WAYPOINT_AIRCRAFT_NOT_IN_THE_AIR The aircraft is not in the air. Takeoff first.
MISSION_WAYPOINT_MISSION_PARAMETERS_INVALID Invalid parameters.
MISSION_WAYPOINT_MISSION_CONDITION_NOT_SATISFIED The waypoint mission request cannot be executed.
MISSION_WAYPOINT_MISSION_ACROSS_NO_FLY_ZONE The waypoint mission is invalid because it will cross a no fly-zone.
MISSION_WAYPOINT_HOME_POINT_NOT_RECORDED The home point location is not refreshed.
MISSION_WAYPOINT_WAYPOINT_NOT_RUNNING No waypoint mission is being executed.
MISSION_WAYPOINT_MISSION_INFO_INVALID Invalid parameters in waypoint mission.
MISSION_WAYPOINT_WAYPOINT_INFO_INVALID Invalid parameters in waypoints.
MISSION_WAYPOINT_WAYPOINT_TRACE_TOO_LONG The total distance of waypoints is too large.
MISSION_WAYPOINT_WAYPOINT_TOTAL_TRACE_TOO_LONG The total distance of the waypoint mission is too large.
MISSION_WAYPOINT_WAYPOINT_INDEX_OVER_RANGE Waypoint index error.
MISSION_WAYPOINT_WAYPOINT_DISTANCE_TOO_CLOSE The distance of two adjacent waypoints is too close.
MISSION_WAYPOINT_WAYPOINT_DISTANCE_TOO_LONG The distance of two adjacent waypoints is too large.
MISSION_WAYPOINT_WAYPOINT_INVALID_CORNER_RADIUS The corner radius is invalid.
MISSION_WAYPOINT_WAYPOINT_ACTION_PARAMETER_INVALID The waypoint mission action parameter is invalid.
MISSION_WAYPOINT_WAYPOINT_MISSION_INFO_NOT_UPLOADED The waypoint mission summary is not uploaded.
MISSION_WAYPOINT_WAYPOINT_UPLOAD_NOT_COMPLETE The waypoint mission is not uploaded completely.
MISSION_WAYPOINT_WAYPOINT_REQUEST_IS_RUNNING Internal error 0xED.
MISSION_WAYPOINT_WAYPOINT_IDLE_VELOCITY_INVALID Internal error 0xEE.
MISSION_WAYPOINT_AIRCRAFT_TAKING_OFF The aircraft is already taking off.
MISSION_WAYPOINT_AIRCRAFT_LANDING The aircraft is already landing.
MISSION_WAYPOINT_AIRCRAFT_GOING_HOME The aircraft is already going home.
MISSION_WAYPOINT_AIRCRAFT_STARTING_MOTOR The aircraft is already tring to start the motors.
MISSION_WAYPOINT_WRONG_CMD The command ID is wrong.
MISSION_WAYPOINT_MISSION_ID_INVALID The mission ID is invalid.
FLY_SAFE_LOCAL_USER_TOKEN_INVALID The user token is invalid.
FLY_SAFE_NETWORK_INVALID The network is not reachable.
FLY_SAFE_SERVER_DATA_ERROR Invalid data from the server.
FLY_SAFE_SIGNATURE_ERROR Signature error.
FLY_SAFE_CHECK_SIGNATURE_ERROR Signature error.
FLY_SAFE_INVALID_REQUEST The request is invalid.
FLY_SAFE_PAGE_NOT_FOUND Received 404 respond.
FLY_SAFE_USER_IS_NOT_LOGIN The user is not logged in yet.
FLY_SAFE_PACK_MANAGER_TIMEOUT The communication between the aircraft and SDK timeouted.
FLY_SAFE_PACK_MANAGER_WRONG_UNLOCK_VERSION Unlock version mismatches.
FLY_SAFE_PACK_MANAGER_WRONG_DEVICE_ID Device ID mismatches.
FLY_SAFE_WRONG_SERIAL_NUMBER Serial number mismatches.
FLY_SAFE_FILE_ERROR The database file may be corrupted.
FLY_SAFE_DB_INVALID_PARAMS Passed invalid database query arguments.
FLY_SAFE_DB_NOT_VALID The database is invalid.
FLY_SAFE_INVALID_AREA_IDS The area ID is invalid.
FLY_SAFE_FC_QUERY_FAILED The query failed.
FLY_SAFE_FC_OP_SET_ENABLE_FAILED Failed to enable the license.
FLY_SAFE_LICENSE_ENABLE_USER_ID_ERROR Cannot enable the license because of user ID error.
FLY_SAFE_LICENSE_NOT_EXIST The license does not exist.
FLY_SAFE_NO_LICENSE_DATA The license does not contain data.
FLY_SAFE_LOW_FIRMWARE_VERSION_ERROR The firmware version is too old.
FLY_SAFE_UNLOCK_VERSION_ERROR Unlock version error.
FLY_SAFE_OLD_LICENSE_DATA_ERROR The license is out-of-date.
FLY_SAFE_INVALID_KEY_VERSION Key version error.
FLY_SAFE_NO_LICENSE_ID The license ID does not exist.
FLY_SAFE_SERVER_INVALID_TOKEN Used invalid token.
FLY_SAFE_SERVER_UNIDENTIFIED_PHONE The phone number is not identified by the server.
FLY_SAFE_SERVER_NOT_UNLOCKABLE_AREA The area cannot be unlocked.
FLY_SAFE_SERVER_UNLOCK_TO_MANY_AREAS The request is rejected by the server because the user is trying to unlock too many areas at the same time.
FLY_SAFE_SERVER_TOO_MANY_LICENSES The request is rejected by the server because there are too many licenses.
FLY_SAFE_SERVER_JSON_DATA_PARSE_ERROR The server failed to parse the JSON data.
SDK_REGISTRATION_COULD_NOT_CONNECT_TO_INTERNET The application is not able to connect to the Internet the first time it tries to register the key.
SDK_REGISTRATION_INVALID_SDK_KEY The application key you provided is incorrect.
SDK_REGISTRATION_HTTP_TIMEOUT The network you are trying to reach is busy, or the server is unreachable.
SDK_REGISTRATION_DEVICE_DOES_NOT_MATCH The attempt to copy data from another registered device to a device that is currently connected is not permitted.
SDK_REGISTRATION_PACKAGE_ID_DOES_NOT_MATCH The package ID of your application does not match the one you registered on the developer website when you applied to obtain an application key.
SDK_REGISTRATION_SDK_KEY_PROHIBITED The application key is prohibited. This occurs when an application key taht has already been released by DJI is revoked.
SDK_REGISTRATION_MAX_REGISTRATION_COUNT_REACHED Deprecated.
SDK_REGISTRATION_SDK_KEY_INVALID_PLATFORM This error occurs when an application key was given for a specific platform and is trying to be used to activate an application for another platform.
SDK_REGISTRATION_SDK_KEY_DOES_NOT_EXIST The application key does not exist. Please make sure the application key is correct.
SDK_REGISTRATION_SDK_KEY_LEVEL_NOT_PERMITTED Deprecated.
SDK_REGISTRATION_SERVER_PARSE_FAILURE The server failed to parse the request data.
SDK_REGISTRATION_SERVER_WRITE_ERROR Write error occurs in the server.
SDK_REGISTRATION_SERVER_DATA_ABNORMAL The data returned by the server is abnormal.
SDK_REGISTRATION_INVALID_META_DATA The respond for the REGISTRATION is in invalid format.
SDK_REGISTRATION_EMPTY_SDK_KEY The APP key is empty.
SDK_REGISTRATION_VERSION_NOT_ACCESSIBLE The SDK version is not accessible with the APP key.
SDK_REGISTRATION_OVER_MAX_REGISTRATION_COUNT Applications under basic develop account could only have the maximum 20 unqiue REGISTRATIONs. Visit DJI Developer Center to upgrade the membership.
ACCOUNT_MANAGER_AUTHROIZED_FAILED Authorization failed during login.
ACCOUNT_MANAGER_NETWORK_REQUEST_ERROR The network request encountered errors.
PLACEHOLDER Placeholder for errors that not handled by SDK.
PLAYBACK_START_STOP_FETCH_COMPLETED Stoppoing fetching is completed.
ACCESS_LOCKER_INVALID_STATE Access locker is in invalid state.
MEDIA_TASK_ABORT The task is aborted.
TRANSFER_NOT_EXIST Transferring doesn’t exist.
ACCESS_LOCKER_USERNAME_NOT_EXIST The username of access locker doesn’t exist.
ACCESS_LOCKER_FIRMWARE_READ Reading error of access locker.
MEDIA_CANCEL_TASK_NOT_EXIST Task doesn’t exist.
PLAYBACK_FILE_LIST_RESET File list is reset.
ACCESS_LOCKER_SECURITYCODE_INCORRECT_FIVETIMES Input incorrect security code for five times.
FILE_LIST_NOT_EXIST File list is not exist.
FILE_LIST_INVOKE_RELOAD File list needs to be reloaded.
ACCESS_LOCKER_ALREADY_UNLOCKED Access locker is already unlocked.
ACCESS_LOCKER_FIRMWARE_WRITE Writing of access locker.
DOWNLOAD_DATA_PARSING_FAILURE Failed when parsing downloaded data.
FILE_LIST_UPDATE_ERROR Failed while updating file list.
PLAYBACK_START_STOP_FETCH_BUSY On progress fetching or deleting file list.
ACCESS_LOCKER_SECURITYCODE_INCORRECT Security code is incorrect.
MEDIA_TASK_SYNC_FAILURE Failed while syncing media task.
ACCESS_LOCKER_SECURITYCODE_INCORRECT_TWENTYTIMES Input incorrect security code for twenty times.
ACCESS_LOCKER_SECURITYCODE_FORMAT_INVALID The format of access locker’s security code is invalid.
ACCESS_LOCKER_NOT_SETUP Access locker is not set up.
DOWNLOADED_EMPTY_DATA The downloaded data is empty.
TRANSCODE_ERROR Error of transcoding.
DOWNLOAD_ABORT_BY_FIRMWARE The download process is aborted by firmware.
MEDIA_TASK_CANCEL The media task is cancelled.
UNKNOWN Unknown error.

enum SDKRegistrationState

enum SDKRegistrationState
Declaration: DJI.WindowsSDK

Description:

States related to SDK registration.

与SDK注册相关的州。

Enum Members:

PendingForNetwork The registration is pending for network connection.
Failed The registration failed. Check the resultCode for the failure reason.
Succeeded The registration succeeded.
Unknown Unknown.

struct EmptyMsg

struct EmptyMsg
Declaration: DJI.WindowsSDK

Description:

A class that contains no property. It is not used by SDK yet.

不包含任何属性的类。SDK还没有使用它。

struct DoubleMsg

struct DoubleMsg
Declaration: DJI.WindowsSDK

Description:

A class that contains a double value.

Struct Members:

double value The actual value of the class.

struct IntMsg

struct IntMsg
Declaration: DJI.WindowsSDK

Description:

A class that contains an int value.

Struct Members:

int value The actual value of the class.

struct StringMsg

struct StringMsg
Declaration: DJI.WindowsSDK

Description:

A class that contains a string value.

Struct Members:

String value The actual value of the class.

struct BoolMsg

struct BoolMsg
Declaration: DJI.WindowsSDK

Description:

A class that contains a string value.

Struct Members:

bool value The actual value of the class.

struct DoubleMinMax

struct DoubleMinMax
Declaration: DJI.WindowsSDK

Description:

A struct to represent a min and max range in double type.

Struct Members:

double min The minimum value of the range.
double max The maximum value of the range.

struct LocationCoordinate2D

struct LocationCoordinate2D
Declaration: DJI.WindowsSDK

Description:

A geographical coodinate.

一个地理坐标。

Struct Members:

double latitude The latitude in degree.
double longitude The longitude in degree.

struct Attitude

struct Attitude
Declaration: DJI.WindowsSDK

Description:

An attitude value in three dimensions (pitch, roll and yaw)

Struct Members:

double pitch The attitude value in the pitch dimension.
double roll The attitude value in the roll dimension.
double yaw The attitude value in the yaw dimension.

struct IntPoint2D

struct IntPoint2D
Declaration: DJI.WindowsSDK

Description:

A class that contains x and y in int value, representing a point on a 2D space.

包含x和y的int值的类,表示二维空间中的一个点。

Struct Members:

int x The x value of the 2D point.
int y The y value of the 2D point.

struct DoublePoint2D

struct DoublePoint2D
Declaration: DJI.WindowsSDK

Description:

A class that contains x and y in double value, representing a point on a 2D space.

Struct Members:

double x The x value of the 2D point.
double y The y value of the 2D point.

struct IntVector2D

struct IntVector2D
Declaration: DJI.WindowsSDK

Description:

A class that contains x and y in int value, representing a vector on a 2D space.

Struct Members:

int x The x value of the vector.
int y The y value of the vector.

struct Velocity3D

struct Velocity3D
Declaration: DJI.WindowsSDK

Description:

A velocity value in three dimensions (x, y and z). The coordinate may have different meanings in different scenarios.

三维(x, y, z)的速度值。在不同的情况下,坐标可能有不同的含义。

Struct Members:

double x The velocity value in x dimension.
double y The velocity value in y dimension.
double z The velocity value in z dimension.

struct DoublePoint3D

struct DoublePoint3D
Declaration: DJI.WindowsSDK

Description:

A class that contains x, y and z in double value, representing a point on a 3D space.

包含x、y和z的双精度类,表示三维空间中的一个点。

Struct Members:

double x The x value of the 3D point.
double y The y value of the 3D point.
double z The z value of the 3D point.

struct IntMinMax

struct IntMinMax
Declaration: DJI.WindowsSDK

Description:

A struct to represent a min and max range in double type.

在双类型中表示最小和最大范围的结构。

Struct Members:

int min The minimum value of the range.
int max The maximum value of the range.

struct DateTime

struct DateTime
Declaration: DJI.WindowsSDK

Description:

A class that represents the date time.

Struct Members:

int day Day.
int minute Minute.
int year Year.
int second Second.
int month Month.
int hour Hour.

struct ResultValue

struct ResultValue
Declaration: DJI.WindowsSDK

Description:

A generic class that encapsulates the execution result of a request.

封装请求执行结果的泛型类。

Struct Members:

SDKError error The encountered error if any. It is NO_ERROR if the request succeeds.
T value The execution result value. It is null if the request fails.

method ~DJISDKManager

~DJISDKManager()
Declaration: DJI.WindowsSDK

Description:

Destructor. It should not be called explicitly.

delegate IntVector2DChangedEventHandler

delegate void IntVector2DChangedEventHandler(object sender, IntVector2D? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type IntVector2D.

用于订阅类型’ IntVector2D '中的更新值的委托类型。

delegate LocationCoordinate2DChangedEventHandler

delegate void LocationCoordinate2DChangedEventHandler(object sender, LocationCoordinate2D? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type LocationCoordinate2D.

用于订阅类型’ LocationCoordinate2D '中的更新值的委托类型。

delegate BoolMsgChangedEventHandler

delegate void BoolMsgChangedEventHandler(object sender, BoolMsg? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type BoolMsg.

用于订阅类型“BoolMsg”中已更新的值的委托类型。

delegate StringMsgChangedEventHandler

delegate void StringMsgChangedEventHandler(object sender, StringMsg? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type StringMsg.

用于订阅类型“StringMsg”中的更新值的委托类型。

delegate Velocity3DChangedEventHandler

delegate void Velocity3DChangedEventHandler(object sender, Velocity3D? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type Velocity3D.

delegate DoubleMsgChangedEventHandler

delegate void DoubleMsgChangedEventHandler(object sender, DoubleMsg? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type DoubleMsg.

delegate IntMsgChangedEventHandler

delegate void IntMsgChangedEventHandler(object sender, IntMsg? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type IntMsg.

delegate DoublePoint2DChangedEventHandler

delegate void DoublePoint2DChangedEventHandler(object sender, DoublePoint2D? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type DoublePoint2D.

delegate AttitudeChangedEventHandler

delegate void AttitudeChangedEventHandler(object sender, Attitude? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type Attitude.

delegate IntPoint2DChangedEventHandler

delegate void IntPoint2DChangedEventHandler(object sender, IntPoint2D? value)
Declaration: DJI.WindowsSDK

Description:

A delegate type used to subscribe the updated values in type IntPoint2D.

delegate SDKRegistrationStateChangedEventHandler

delegate void SDKRegistrationStateChangedEventHandler(SDKRegistrationState state, SDKError errorCode)
Declaration: DJI.WindowsSDK

Description:

Delegate type that use to subscribe the SDK registration state and error code if there is any error.

event SDKRegistrationStateChanged

event SDKRegistrationStateChangedEventHandler SDKRegistrationStateChanged
Declaration: DJI.WindowsSDK

Description:

Subscribe the event to receive the change of SDK registration state.

property Instance

static DJISDKManager Instance { get; }
Declaration: DJI.WindowsSDK

Description:

The single instance of DJISDKManager. Use it as entry for all features of SDK. This class is accessible before SDK registration.

DJISDKManager的单个实例。使用它作为SDK的所有特性的入口。在SDK注册之前可以访问这个类。

property SDKVersion

static string SDKVersion { get; }
Declaration: DJI.WindowsSDK

Description:

Gets the DJI Windows SDK version. Returns SDK version as a string.

获取DJI Windows SDK版本。以字符串形式返回SDK版本。

property VideoFeeder

VideoFeeder VideoFeeder { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the video feeder, which provides the video feeds.

访问提供视频馈线的视频馈线。

property ComponentManager

ComponentManager ComponentManager { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the component manager, which is the entry of different components (flight controllers, cameras, etc.).

访问组件管理器,它是不同组件(飞行控制器、相机等)的入口。

property VirtualRemoteController

VirtualRemoteController VirtualRemoteController { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the virtual remote controller. It is used to control the aircraft’s attitude when SDK is connected to the aircraft through WiFi without any physical remote controller.

访问虚拟遥控器。当SDK通过WiFi连接到飞行器时,用于控制飞行器的姿态,不需要任何物理遥控器。

property FlyZoneManager

FlyZoneManager FlyZoneManager { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the fly-zone manager. It is the entry of functionality related to DJI’s GEO system.

进入飞行区管理器。它是与DJI的GEO系统相关的功能入口。

property UserAccountManager

UserAccountManager UserAccountManager { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the user account manager. Login is required to access some features in fly-zone.

访问用户帐户管理器。需要登录才能访问飞行地带的一些功能。

property WaypointMissionManager

WaypointMissionManager WaypointMissionManager { get; }
Declaration: DJI.WindowsSDK

Description:

Accesses to the waypoint mission manager.

method RegisterApp

void RegisterApp(string key)
Declaration: DJI.WindowsSDK

Description:

The first time the app is initialized after installation, the app connects to a DJI Server through the internet to verify the Application Key. The request will include the following information:

  • App key

  • Package ID

  • System platform, version and name

  • UUID generated by platform’s API (EasClientDeviceInformation.Id)

  • System version Subsequent app starts will use locally cached verification information to register the app when the cached information is still valid.

  • app安装后第一次初始化,app通过互联网连接到DJI服务器,验证应用程序密钥。该要求将包括以下资料:

    ——应用关键

    ——包ID

    -系统平台、版本和名称

    -由平台的API生成的UUID (’ easclientdeviceinfo . id ')

    -系统版本后续应用程序启动时,当缓存信息仍然有效时,将使用本地缓存的验证信息注册应用程序。

Input Parameters:

string key The key used to register SDK for the application. This can be applied in DJI Develop Center.

property SDKRegistrationResultCode

SDKError SDKRegistrationResultCode { get; }
Declaration: DJI.WindowsSDK

Description:

Determines if SDK is registered. This is the pre-condition of using most of the features in SDK.

确定SDK是否注册。这是使用SDK中大多数特性的前提条件。

method EnableDebugLogSystem

bool EnableDebugLogSystem()
Declaration: DJI.WindowsSDK

Description:

Enables the debug log system. It will enable the DJI Windows SDK to collect logs that are related to the SDK’s internal logic. These logs can be used to help diagnose SDK bugs. The debug log system is disabled by default. The developer can call this method in each life cycle of the application to enable the log system. The logs will be saved to directory named logs. The logs are under the application’s local folder.

启用调试日志系统。它将使DJI Windows SDK能够收集与SDK内部逻辑相关的日志。这些日志可用于帮助诊断SDK bug。默认情况下,调试日志系统是禁用的。开发人员可以在应用程序的每个生命周期中调用此方法来启用日志系统。这些日志将保存到名为logs的目录中。日志位于应用程序的本地文件夹下。

Return:

bool Return true if SDK has been registered.

method DisableDebugLogSystem

bool DisableDebugLogSystem()
Declaration: DJI.WindowsSDK

Description:

Disables the debug log system.

Return:

bool Return true if SDK has been registered.

class FlyZoneManager

Declaration: DJI.WindowsSDK.FlySafe
sealed class FlyZoneManager
  • 飞行地区管理,该类提供对飞行地区程序的访问。

GetFlyZoneHandler

  • 获取FlyZoneHandler对应的带有产品索引的对象。

Input Parameters:

uint productIndex 连接产品的索引

Return:

FlyZoneHandler Return FlyZoneHandler object.

class FlyZoneHandler

Declaration: DJI.WindowsSDK.FlySafe

sealed class FlyZoneHandler

飞行区域处理程序提供附近飞行区域的信息,和api解锁区域,可以解锁。根据地点的不同,有三种可能的飞行区域:

  • 圆:圆柱体或截锥体积,有四层限制:

    警戒区:无限制

    增强警戒区:飞行受限,可在用户登录DJI账户时解锁飞行

    授权区域:飞行受限,可在用户登录DJI账号后解锁飞行,且该账号已被授权解锁授权区域。

    禁区:飞行受限

  • 多边形:由一个或多个圆柱体或具有不同高度限制的复杂体组成的飞行区域。高度限制为0表示飞行完全受限。

method GetFlyZonesInSurroundArea

async Task>> GetFlyZonesInSurroundArea()

Description:

得到飞机10公里内的所有飞行区域。

Return:

async Task>> 如果操作没有错误的话,返回飞机周围的飞行区域信息。当飞机周围没有飞行区域时,该信息可能为空。

method GetUnlockedFlyZonesForAircraft

async Task>> GetUnlockedFlyZonesForAircraft()

Description:

​ 获取由帐户为已连接的飞机解锁的授权飞行区域列表。它包括由飞行计划者(http://www.dji.com/flysafe/geo-system# Planner)解锁的飞行区域,以及使用DJI Go或任何基于DJI Mobile/Windows SDK的应用程序在飞行期间解锁的飞行区域。此列表不包括通过自定义解锁解锁的飞行区域。

Return:

async Task>> 如果操作无误,飞行器上已解锁的飞行区域信息。当飞机上没有未解锁的飞行区域时,该信息可能为null

method UnlockFlyZones

async Task UnlockFlyZones(List flyZoneIDs)

Description:

​ 解锁选定的飞行区域。此方法可用于解锁授权区域。在解锁区域后,飞行将不受限制,直到解锁到期。解锁记录将链接到用户的帐户,DJI Go和其他基于DJI Mobile/Windows SDK的应用程序可以访问该记录。

数据保护注意事项-调用此方法将发送以下受保护的数据到DJI服务器:

-用户帐户信息

-相连飞机的序列号。

Input Parameters:

List flyZoneIDs The IDs of AuthorizedWarningZones.

Return:

async Task The operation error code.

method SetUnlockingEnabled

async Task SetUnlockingEnabled(FlyZoneInformation flyZone, bool enabled)

Description:

​ 将启用状态设置为飞机上选定的授权飞行区域。此方法可用于设置飞机上当前特定授权飞行区域的启用状态。飞机上的所有授权飞行区域都可以通过“getunlockedflyonesforaircraft”获得。

Input Parameters:

FlyZoneInformation flyZone 要启用的飞行区域
bool enabled 飞机上的启用状态设置为授权飞行区域

Return:

async Task The operation error code.

method GetUnlockingEnabled

async Task> GetUnlockingEnabled(FlyZoneInformation flyZone)

Description:

​ 获取飞机上所选授权飞行区的启用状态。飞机上的所有授权飞行区域都可以通过“getunlockedflyonesforaircraft”获得。

Input Parameters:

FlyZoneInformation flyZone 获取飞机上所选授权飞行区域的启用状态

Return:

async Task> 飞机上所选授权飞行区域的启用状态。如果在飞机上找不到所选的授权飞行区域,将返回未知的操作错误代码。

method ReloadUnlockedZoneGroupsFromServer

async Task ReloadUnlockedZoneGroupsFromServer()

Description:

​ 从服务器重新加载由当前用户的帐户解锁的已解锁区域组。对于所有产品,这包括自解锁和自定义解锁区域。每个未上锁的区域组对应一个飞机序列号。启动后,SDK将调用此方法一次。当网络连接或当前帐户状态发生变化时(例如,当新用户成功登录时),它将再次调用此方法。其他任何时候都可以调用此方法来手动触发重新加载。调用此方法不会将加载的区域组同步到飞机上。要获取当前从服务器加载的组列表,调用’ GetLoadedUnlockedZoneGroups '。用户需要手动调用“SyncUnlockedZoneGroupToAircraft”来在未解锁的区域组重新加载后将未解锁的组同步到已连接的飞机。

Return:

async Task The operation error code.

method GetCustomUnlockZonesFromAircraft

async Task>> GetCustomUnlockZonesFromAircraft()

Description:

获取当前在飞机上的自定义解锁区域。

Return:

async Task>> 自定义在飞机上解锁区域。当出现错误或飞机上没有自定义解锁区域时,结果将为null。

method EnableCustomUnlockZone

async Task EnableCustomUnlockZone(CustomUnlockZone customUnlockZone)

Description:

​ 启用在飞机上的自定义解锁区域。飞机上所有的自定义解锁区域都可以通过“GetCustomUnlockZonesFromAircraft”获得。在任何时候,只有一个自定义解锁区域可以启用。启用自定义解锁区域将禁用之前启用的区域。

Input Parameters:

CustomUnlockZone customUnlockZone 自定义解锁区域启用

Return:

async Task The operation error code.

method DisableCustomUnlockZone

async Task DisableCustomUnlockZone()

Description:

​ 禁用当前飞机上的自定义解锁区域(如果有的话)。当前启用的自定义解锁区域可以通过“GetEnabledCustomUnlockZone”来获取。

Return:

async Task The operation error code.

method GetEnabledCustomUnlockZone

async Task> GetEnabledCustomUnlockZone()

Return:

async Task> 飞机上当前启用的自定义解锁区域。当出现错误或飞机上没有启用自定义解锁区域时,结果将为null

method GetLoadedUnlockedZoneGroups

async Task>> GetLoadedUnlockedZoneGroups()

Description:

​ 获取从服务器加载的未锁定区域组。每个区域组对应一架飞机。装载区域组不会自动与飞机同步。用户需要手动调用’ SyncUnlockedZoneGroupToAircraft '来同步未解锁的区域组到已连接的飞机。调用“ReloadUnlockedZoneGroupsFromServer”手动触发重新加载解锁的区域组。

async Task>> 从与已登录帐户关联的服务器加载的未锁定区域组。当出现错误或没有未锁定的区域组与已登录的帐户相关联时,结果将为null。

method SyncUnlockedZoneGroupToAircraft

async Task SyncUnlockedZoneGroupToAircraft(UnlockZoneGroup group)

Description:

​ 将未解锁的区域组与连接的飞机同步。SDK将选择与被连接飞机序列号匹配的解锁区组。已解锁区域组与飞行器同步成功后,可通过以下方法查看飞行器上最新已解锁飞行区域和自定义解锁区域:

-解锁飞行区域:为飞机锁定飞行区域

-自定义解锁区域:GetCustomUnlockZonesFromAircraft

Input Parameters:

Return:

async Task The operation error code.

property ProductIndex

uint ProductIndex { get; }

Description:

此组件处理程序所属的产品的索引。默认的产品索引是0。

class UnlockZoneGroup

sealed class UnlockZoneGroup

Description:

​ 已解锁的区域组包含飞机的自解锁飞行区域和自定义解锁区域。

property GroupID

uint GroupID { get;}

Description:

​ 未解锁的区域组的ID。

property SN

string SN { get;}

Description:

​ 未解锁区域组绑定到的飞机的序列号。

property SelfUnlockedFlyZones

List SelfUnlockedFlyZones { get; internal set; }

Description:

​ 飞机的自解锁授权飞行区域。

property CustomUnlockZones

List CustomUnlockZones { get; }

Description:

​ 飞机的自定义解锁区域。

class FlyZoneInformation

sealed class FlyZoneInformation

Description:

​ 该类包含有关飞行区域的信息。“类型”应该用来理解飞行区域的类型,从而知道这个类中的哪些信息是有效的。

property Type

FlyZoneType Type { get; }

Description:

​ 返回飞行区域的类型。

property FlyZoneID

uint FlyZoneID { get; }

Description:

​ 返回飞行区域的ID。如果解锁飞行区域,这是必需的。

property Name

string Name { get; }

Description:

​ 返回飞行区域的名称。

property Reason

FlyZoneReason Reason { get; }

Description:

​ 返回飞行区“FlyZoneReason”的原因。

property Center

LocationCoordinate2D Center { get; }

Description:

​ 飞行区域的中心坐标。仅用于“圆形”飞行区域。

property Radius

double Radius { get; }

Description:

​ 飞行区域的半径,以米为单位。如果飞区是一个截断的圆锥,那么半径是圆锥的底部。只用于“圆形”区域。

property Shape

FlyZoneShape Shape { get; }

Description:

​ 飞行区域的形状。这个形状只用于GEO(总是圆柱形)和NFZ飞行区域。

property SubFlyZones

List SubFlyZones { get; }

Description:

​ 子飞行区域的信息。如果为空,则飞行区为圆形飞行区。如果填充,此飞行区是一个多边形飞行区,并且子飞行区信息将优先于“FlyZoneInformation”中的信息。“FlyZoneInformation”只能用于识别飞行区域信息。

property StartTime

string StartTime { get; }

Description:

​ 飞行警告或飞行限制开始的时间标记,格式为UTC (YYYY-MM-DD hh:mm:ss)。这是用于临时飞行限制。当时间从服务器不可用时,’ FlyZoneInformationInvalidTimestamp '将被返回。

property EndTime

string EndTime { get; }

Description:

​ 飞行警告或飞行限制结束的时间标记,格式为UTC (YYYY-MM-DD hh:mm:ss)。当时间从服务器不可用时,’ FlyZoneInformationInvalidTimestamp '将被返回。

property UnlockStartTime

string UnlockStartTime { get; internal set; }

Description:

​ 未解锁区域的时间标记过期,用UTC格式(YYYY-MM-DD hh:mm:ss)。当时间从服务器不可用时,’ FlyZoneInformationInvalidTimestamp '将被返回。

property UnlockEndTime

string UnlockEndTime { get; internal set; }

Description:

​ 未解锁区域的时间戳过期,用UTC格式(YYYY-MM-DD hh:mm:ss)。当时间从服务器不可用时,’ FlyZoneInformationInvalidTimestamp '将被返回。

property FlyZoneInformationInvalidTimestamp

static string FlyZoneInformationInvalidTimestamp { get; set; }

Description:

​ 飞行区域信息无效的时间标记。

enum FlyZoneType

enum FlyZoneType

Description:

​ 有两种类型的飞行区域,圆形和多边形。

Enum Members:

Circle 圆形飞区是一个圆柱体或截锥形体积(见“形状”),具有四个限制水平之一(见“类别”)。有些限制可以解除,有些则不能。一些飞行区域周围还有4公里的缓冲区,飞行高度被限制在120米以内。
Polygon 多蝇区由一个或多个分蝇区组成,这些分蝇区是圆柱体或具有不同高度限制的复杂体。高度限制为0米意味着飞行完全受限。
Unknown 飞行区域类型未知。

enum FlyZoneCategory

enum FlyZoneCategory

Description:

​ 枚举类表示飞行区域的类别。

Enum Members:

Warning 警戒区不限制飞行,并向用户提供信息。在警告区域中,用户应该被提示一条描述该区域的警告消息.
Authorizaion 授权区域默认情况下限制飞行,但可以被授权用户解锁。
Restricted 禁区默认情况下限制飞行,GEO授权用户不能解锁。如果用户获得在限制区飞行的授权,应联系[email protected]
EnchanceWarning 增强警戒区不限制飞行,但强烈建议作为信息提醒用户。在增强的警告区域中,用户应该被提示一条描述该区域的警告消息。
Unknown Unknown.

enum FlyZoneReason

enum FlyZoneReason

Description:

​ 枚举类包含禁止飞行区域及原因。

Enum Members:

Airport 无法使用GEO系统解锁的机场。
Military 军事授权区域。这不能被解除
Special 特殊的区域。这不能使用GEO系统解锁。
CommercialAirport 商业机场
PrivateCommercialAirport 私人商业机场
RecreationalAirport 休闲机场
NationalPark 国家公园
NOAA 美国国家海洋和大气管理局
Parcel 包裹
PowerPlant 电厂
Prison 监狱
School School.
Stadium 体育场
ProhibitedSpecialUse 特别禁止使用
RestrictedSpecialUse 限制特殊使用。
TemporaryFlightRestriction 临时飞行限制。
ClassBAirSpace b级管制空域。有关美国管制空域(B、C、D、E级)的更多信息。
ClassCAirSpace C级管制空域。有关美国管制空域(B、C、D、E级)的更多信息
ClassDAirSpace d级管制空域。有关美国管制空域(B、C、D、E级)的更多信息
ClassEAirSpace e级管制空域。有关美国管制空域(B、C、D、E级)的更多信息
UnpavedAirport 机场跑道未铺设
Heliport 直升飞机场
Unknown Unknown.

enum FlyZoneShape

enum FlyZoneShape

Description:

包含飞行区形状的枚举类。

Enum Members:

Cylinder 圆柱体
Cone 在地面上半径较小而在空中半径较大的截锥形。
Unknown Unknown.

enum SubFlyZoneShape

enum SubFlyZoneShape

Description:

飞行区域的这类地理空间信息。

Enum Members:

Cylinder 圆的形状。
Polygon 多边形的形状。
Unknown Unknown.

class WaypointMissionManager

class WaypointMissionManager
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ WaypointMissionManager提供了对“WaypointMissionHandler”的访问。

GetWaypointMissionHandler

Waypoint.WaypointMissionHandler GetWaypointMissionHandler(uint productIndex)

Description:

​ 获取“WaypointMissionHandler”的对象

Input Parameters:

uint productIndex 连接产品的索引

Return:

Waypoint 返回:航点任务处理器

class WaypointMissionHandler

sealed class WaypointMissionHandler

Description:

​ WaypointMissionHandler可以用来运行和监视路点任务。它可以从“WaypointMissionManager”访问。

Delegate(委托):

struct WaypointMissionUploadState

struct WaypointMissionUploadState
Declaration: DJI.WindowsSDK

Description:

​ 一个路径点任务的上传状态。

Struct Members:

bool isSummaryUploaded The waypoint mission handler has uploaded the the mission’s summary (information except waypoints).路点任务处理程序已经上传了任务摘要(除了路点之外的信息)。
int uploadedWaypointIndex The index of the last uploaded waypoint. Information for each waypoint is uploaded one by one in ascending order. If no waypoint has been uploaded, the value will be -1.最后一个上传路径点的索引。每个路径点的信息按升序逐一上传。如果没有上传路径点,则值为-1。
int totalWaypointCount The total count of waypoints in the waypoint mission.路径点任务中路径点的总数。
int errorCode The encountered error during upload if there is any. Otherwise, it is null.上传过程中遇到的错误如果有的话。否则,它为空。

struct WaypointMissionDownloadState

struct WaypointMissionDownloadState
Declaration: DJI.WindowsSDK

Description:

​ 路点任务的下载状态。

Struct Members:

int downloadedWaypointIndex The index of the last downloaded waypoint. Information for each waypoint is downloaded one by one in ascending order. If no waypoint has been downloaded, the value will be -1.最后下载的路径点的索引。每个路径点的信息按升序依次下载。如果没有路径点被下载,值将是-1。
int totalWaypointCount The total count of waypoints in the waypoint mission.路径点任务中路径点的总数。
int errorCode The encountered error during download if there is any. Otherwise, it is null.下载期间遇到的错误(如果有的话)。否则,它为空。

struct WaypointMissionExecutionState

struct WaypointMissionExecutionState
Declaration: DJI.WindowsSDK

Description:

​ 路点任务的执行状态。

Struct Members:

int targetWaypointIndex Index of the waypoint for the next mission to which the aircraft will proceed.飞机将要执行的下一个任务的航路点索引。
int totalWaypointCount The total count of waypoints in the waypoint mission.路径点任务中路径点的总数。
bool isWaypointReached true when the aircraft reaches a waypoint. After the waypoint actions and heading change is complete, the targetWaypointIndex will increment and this property will become false.当飞机到达一个航路点时是正确的。在路径点操作和标题更改完成后,targetWaypointIndex将增加,并且该属性将变为false。
bool isExecutionFinish If the waypoint mission is finished.如果终点任务完成了。
WaypointMissionExecuteState state The current state of the waypoint mission handler.路点任务处理程序的当前状态。
int errorCode The encountered error during the execution if there is any. Otherwise, it is null.执行过程中遇到的错误(如果有的话)。否则,它为空。

struct WaypointMissionStateTransition

struct WaypointMissionStateTransition
Declaration: DJI.WindowsSDK

Description:

​ 路点任务处理程序的状态转换。

Struct Members:

WaypointMissionState previous The previous state of the waypoint mission handler.
WaypointMissionState current The current state of the waypoint mission handler.

struct WaypointMission

struct WaypointMission
Declaration: DJI.WindowsSDK

Description:

​ 在航路点任务中,飞机将在航路点之间飞行,在航路点执行动作,并在航路点之间调整航向和高度。航路点是飞机将要飞行的物理位置。实际上,创建一系列航路点就可以为飞机设定飞行路线。还可以在航路点上添加动作,当飞机到达航路点时执行。飞机以基本速度在航路点之间自动飞行。然而,用户可以通过使用手臂操纵杆来改变速度。如果把棍子往上推,速度就会加快。如果把棍子往下推,速度就会减慢。把操纵杆往下推可以让飞机停止飞行,再推一下就可以让飞机沿着原来的路径往回飞。当飞机以相反的顺序通过航路点时,它不会在每个航路点执行航路点动作。如果松开操纵杆,飞机将再次按照原来的顺序通过路点,并继续执行路点动作(即使之前执行过)。如果飞机沿着路径点任务被拉回,直到第一个路径点,它就会在原地悬停,直到棍子被释放到足够的位置,让它再次完成任务。

Struct Members:

int waypointCount Number of waypoints in the waypoint mission. Note there are some cases when the waypoint count will be different to the waypoint array length from waypoints. This is usually the case when the waypoint mission is still being downloaded from the aircraft and the mission object hasn’t existed previously (e.g. when the mobile device is connected to an aircraft with a previously uploaded mission). In these cases, isComplete will return null.路点任务中的路点数。注意,有些情况下,路径点计数与“路径点”数组长度不同。这通常发生在航路点任务仍在从飞机上下载,而任务对象以前不存在的情况下(例如,当移动设备连接到飞机上之前上传了任务)。在这些情况下,isComplete将返回null。
double maxFlightSpeed While the aircraft is travelling between waypoints, you can offset its speed by using the throttle joystick on the remote controller. maxFlightSpeed is this offset when the joystick is pushed to maximum deflection. For example, If maxFlightSpeed is 10 m/s, then pushing the throttle joystick all the way up will add 10 m/s to the aircraft speed, while pushing down will subtract 10 m/s from the aircraft speed. If the remote controller stick is not at maximum deflection, then the offset speed will be interpolated between [0, maxFlightSpeed] with a resolution of 1000 steps. If the offset speed is negative, then the aircraft will fly backwards to previous waypoints. When it reaches the first waypoint, it will then hover in place until a positive speed is applied. maxFlightSpeed has a range of [2,15] m/s.当飞机在航线点之间飞行时,你可以使用遥控器上的油门操纵杆来抵消它的速度。“最大飞行速度”是当操纵杆被推到最大偏转时的偏移量。举个例子,如果“最大飞行速度”为10米/秒,那么向上推油门操纵杆会使飞机的速度增加10米/秒,向下推则会使飞机的速度减少10米/秒。如果遥控器操纵杆不是在最大偏转,然后偏移速度将被插值之间的[0,’ maxFlightSpeed ‘]与1000步的分辨率。如果偏置速度为负,则飞机将向后飞到先前的航路点。当它到达第一个路径点时,它就会在原地悬停,直到达到一个正速度。’ maxFlightSpeed '的范围为[2,15]m/s。
double autoFlightSpeed The base automatic speed of the aircraft as it moves between waypoints with range [-15, 15] m/s. The aircraft’s actual speed is a combination of the base automatic speed, and the speed control given by the throttle joystick on the remote controller. If autoFlightSpeed > 0: Actual speed is autoFlightSpeed + Joystick Speed (with combined max of double maxFlightSpeed) If autoFlightSpeed = 0: Actual speed is controlled only by the remote controller joystick. If autoFlightSpeed < 0 and the aircraft is at the first waypoint, the aircraft will hover in place until the speed is made positive by the remote controller joystick.当飞机以[- 15,15]米/秒的距离在航路点之间移动时的基本自动速度。飞机的实际速度是基础自动速度和由遥控器上的油门操纵杆给出的速度控制的组合。如果“autoFlightSpeed”比;0:实际速度为“autoFlightSpeed”+操纵杆速度(组合max为“double maxFlightSpeed”),如果autoFlightSpeed = 0:实际速度仅由遥控器操纵杆控制。如果“autoFlightSpeed”& lt;当飞机在第一个航路点时,飞机将在原地悬停,直到遥控操纵杆使速度为正。
WaypointMissionFinishedAction finishedAction Action the aircraft will take when the waypoint mission is complete.航路点任务完成后飞机将采取的行动。
WaypointMissionHeadingMode headingMode Heading of the aircraft as it moves between waypoints. Default is AUTO.飞机在航路点之间移动时的航向。默认设置是“汽车”。
WaypointMissionFlightPathMode flightPathMode The path the aircraft follows between waypoints. The aircraft can either fly directly between waypoints in a straight line, or turn near a waypoint in the curve where the waypoint location defines a part of the curve.飞机在航路点之间的飞行路线。飞机可以沿直线直接在航线点之间飞行,也可以在曲线上的航线点附近转弯,因为航线点的位置决定了曲线的一部分。
WaypointMissionGotoFirstWaypointMode gotoFirstWaypointMode Defines how the aircraft will go to the first waypoint from its current position. Default is SAFELY.定义飞机将如何从当前位置到达第一个航路点。默认设置是“安全”。
bool exitMissionOnRCSignalLostEnabled Determines whether the mission should stop when connection between the aircraft and remote controller is lost. Default is FALSE.确定当飞机和遥控器之间的连接丢失时,任务是否应该停止。默认设置是“假”。
LocationCoordinate2D pointOfInterest Aircraft heading will be fixed to the point of interest location during the waypoint mission. Used when WaypointMissionHeadingMode headingMode is TOWARD_POINT_OF_INTEREST.在航路点任务中,飞机航向将固定在感兴趣的位置上。当“WaypointMissionHeadingMode headingMode”是“TOWARD_POINT_OF_INTEREST”时使用。
bool gimbalPitchRotationEnabled TRUE if the gimbal pitch rotation can be controlled during the waypoint mission. When TRUE, double gimbalPitch in Waypoint is used to control gimbal pitch.如果在路径点任务期间框架俯仰旋转可以被控制,则为真。为真时,采用路点上的双框架节距控制框架节距。
int repeatTimes Mission execution can be repeated more than once. A value of 0 means the mission only executes once, and does not repeat. A value of 1 means the mission will execute a total of two times.任务执行可重复多次。值为0表示任务只执行一次,不重复。值为1表示该任务将总共执行两次。
int missionID The mission ID assigned to the waypoint mission.分配给路点任务的任务ID。

enum WaypointMissionGotoFirstWaypointMode

enum WaypointMissionGotoFirstWaypointMode
Declaration: DJI.WindowsSDK

Description:

​ 这个枚举将决定无人机执行飞行时的转到点模式。

Enum Members:

SAFELY Go to the waypoint safely. The aircraft will rise to the same altitude of the waypoint if the current altitude is lower then the waypoint altitude. It then goes to the waypoint coordinate from the current altitude, and proceeds to the altitude of the waypoint.
POINT_TO_POINT Go to the waypoint from the current aircraft point to the waypoint directly.
UNKNOWN Unknown.

enum WaypointMissionState

enum WaypointMissionState
Declaration: DJI.WindowsSDK

Description:

​ 所有可能的状态的路点任务处理器。

Enum Members:

DISCONNECTED The connection between the mobile device, remote controller and aircraft is broken.
RECOVERING The connection between the mobile device, remote controller and aircraft is built-up. The operator is synchronizing the state from the aircraft.
NOT_SUPPORTED The connected product does not support waypoint mission.
READY_TO_UPLOAD The aircraft is ready to upload a mission.
UPLOADING The uploading is started successfully. Detail information for each waypoint is being uploaded one by one.
READY_TO_EXECUTE Waypoint mission is uploaded completely and the aircraft is ready to start the execution.
EXECUTING The execution is started successfully.
EXECUTE_PAUSED Waypoint mission is paused successfully. User can call resume mission to continue the execution.
UNKNOWN The state of the operator is unknown. It is the initial state when the handler is just created.

enum WaypointMissionExecuteState

enum WaypointMissionExecuteState
Declaration: DJI.WindowsSDK

Description:

​ 当前的路点任务状态。

Enum Members:

INITIALIZING Waypoint mission is initializing, which means the mission has started and the aircraft is going to the first waypoint.
MOVING Aircraft is currently moving toward the mission’s next waypoint. This happens when the WaypointMissionFlightPathMode flightPathMode is set to NORMAL.
CURVE_MODE_MOVING Aircraft is currently moving. This happens when the WaypointMissionFlightPathMode flightPathMode is set to CURVED.
CURVE_MODE_TURNING Aircraft is currently turning. This happens when the WaypointMissionFlightPathMode flightPathMode is set to CURVED.
BEGIN_ACTION Aircraft has reached a waypoint, has rotated to the new heading and is now processing actions. This state will be called before the waypoint actions starts executing and will occur for each waypoint action.
DOING_ACTION Aircraft is at a waypoint and is executing an action.
FINISHED_ACTION Aircraft is at a waypoint and has finished executing the current waypoint action. This state occurs once for each waypoint action.
RETURN_TO_FIRST_POINT Aircraft has returned to the first waypoint. This happens when the WaypointMissionFinishedAction finishedAction is set to GO_FIRST_WAYPOINT.
PAUSED The mission is currently paused by the user.
UNKNOWN Unknown.

property ProductIndex

uint ProductIndex { get; }
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 此组件处理程序所属的产品的索引。默认的产品索引是0。

delegate DownloadStateChangedEventHandler

delegate void DownloadStateChangedEventHandler(WaypointMissionHandler sender, WaypointMissionDownloadState? value)
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 下载状态更改事件的委托。

delegate UploadStateChangedEventHandler

delegate void UploadStateChangedEventHandler(WaypointMissionHandler sender, WaypointMissionUploadState? value)
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 上传状态更改事件的委托。

delegate ExecutionStateChangedEventHandler

delegate void ExecutionStateChangedEventHandler(WaypointMissionHandler sender, WaypointMissionExecutionState? value)
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 执行状态更改事件的委托。

delegate StateChangedEventHandler

delegate void StateChangedEventHandler(WaypointMissionHandler sender, WaypointMissionStateTransition? value)
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 当前状态更改事件的委托。

Preparation:

method LoadMission

SDKError LoadMission(WaypointMission mission)
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 加载一个路径点任务到设备存储器。只有当WaypointMissionState是“READY_TO_UPLOAD”或“READY_TO_EXECUTE”之一时,才能加载任务。当当前状态是READY_TO_EXECUTE时,调用LoadMission会将状态更改为‘READY_TO_UPLOAD’。

Input Parameters:

WaypointMission mission Waypoint mission to load.

Return:

SDKError 操作错误代码。当任务数据无效或不能以当前状态加载任务时,值为’ PARAMETERS_SET_ERROR ‘或’ INVALID_REQUEST_IN_CURRENT_STATE ’ .

method GetLoadedMission

WaypointMission? GetLoadedMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 获取管理器当前加载的任务。装载任务有两种方法。1. 用户可以通过loadMission加载任务。2. 当SDK重新连接时,如果飞机已经在执行路径点任务,管理员将从飞机上下载部分任务信息并自动加载。在这种情况下,加载的任务将只包含执行任务的摘要,但不包含每个路径点的信息。用户可以调用DownloadMission来获取加载任务的所有信息。当loadedMission的执行被停止、完成或中断时,loadedMission将被重置为null。

Return:

WaypointMission? WaypointMission

method UploadMission

async Task UploadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 开始向飞机上传GetLoadedMission。它只能在’ GetCurrentState ‘是’ READY_TO_UPLOAD ‘时被调用。如果在上一个上传过程中发生超时错误,上传操作将从上一个断点恢复。成功上传任务后,’ GetCurrentState ‘将变成’ READY_TO_EXECUTE '。上传进度将由“UploadStateChanged”通知。

Return:

async Task The operation error code

method RetryUploadMission

async Task RetryUploadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 重试上传路径点任务。

Return:

async Task The operation error code

method CancelUploadMission

async Task CancelUploadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 取消上传任务。它只能在’ GetCurrentState '是’上传’时被调用

Return:

async Task The operation error code

Download:

method DownloadMission

async Task DownloadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 如果应用程序重启,而waypoint任务正在执行,则需要从飞机上下载任务。该操作将从飞机上下载每个航路点的信息并保存到“GetLoadedMission”中。如果启动了下载操作,管理员将按升序依次下载“GetLoadedMission”中缺失的路径点信息。它只能在’ GetCurrentState '是以下选项之一时被调用:- ’ execution ’ - ’ execute_pause ‘,下载进度将由’ DownloadStateChanged '通知。

Return:

async Task The operation error code

method RetryDownloadMission

async Task RetryDownloadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 重试下载路点任务。

Return:

async Task The operation error code

method CancelDownloadMission

async Task CancelDownloadMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 取消下载任务。

Return:

async Task The operation error code

Mission Execution:

method StartMission

async Task StartMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 开始执行上传的任务。它只能在’ GetCurrentState ‘是’ READY_TO_EXECUTE '时被调用。任务成功启动后,“GetCurrentState”将变为“execution”。

Return:

async Task The operation error code

method PauseMission

async Task PauseMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 暂停执行任务。它只能在“WaypointMissionState”正在“执行”时被调用。在成功暂停一个任务后,’ GetCurrentState ‘将变成’ execute_pause '。

Return:

async Task The operation error code

method ResumeMission

async Task ResumeMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 恢复暂停的任务。它只能在’ GetCurrentState ‘是’ execute_暂停’时被调用。任务成功恢复后,“GetCurrentState”将变为“execution”。

Return:

async Task The operation error code

method StopMission

async Task StopMission()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 停止执行或暂停的任务。它只能在’ GetCurrentState '是以下类型之一时被调用:- ’ execution ’ - ’ execute_pause ‘在一个任务成功停止后,’ GetCurrentState ‘将变成’ READY_TO_UPLOAD ’

Return:

async Task The operation error code

State:

method GetCurrentState

WaypointMissionState GetCurrentState()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 管理器的当前状态。

Return:

WaypointMissionState An enum of WaypointMissionState

method GetLatestExecutionEvent

WaypointMissionExecutionState? GetLatestExecutionEvent()
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 由管理器缓存的最新执行事件。在调用LoadMission后,它将被重置为“null”。

Return:

WaypointMissionExecutionState? return WaypointMissionExecutionState

Event:

event UploadStateChanged

event UploadStateChangedEventHandler UploadStateChanged
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 接收与上传任务相关的事件。见“UploadStateChangedEventHandler”

event DownloadStateChanged

event DownloadStateChangedEventHandler DownloadStateChanged
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 接收与下载任务相关的事件。见“DownloadStateChangedEventHandler”

event ExecutionStateChanged

event ExecutionStateChangedEventHandler ExecutionStateChanged
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 接收与执行相关的事件。见“ExecutionStateChangedEventHandler”

event StateChanged

event StateChangedEventHandler StateChanged
Declaration: DJI.WindowsSDK.Mission.Waypoint

Description:

​ 接收与当前状态更改相关的事件。见“StateChangedEventHandler”

class ComponentManager

sealed class ComponentManager
Declaration: DJI.WindowsSDK.Components

Description:

​ 提供对不同组件的访问的管理器。

class CameraHandler

sealed class CameraHandler
Declaration: DJI.WindowsSDK.Components

Description:

处理程序。

Delegate:

property ProductIndex

uint ProductIndex { get; }
Declaration: DJI.WindowsSDK.Components

Description:

The index of the product to which this component handler belongs. The default product index is 0.

property ComponentIndex

uint ComponentIndex { get; }
Declaration: DJI.WindowsSDK.Components

Description:

​ 组件的索引。它对于产品内部的一种组件是唯一的。当一个产品有多个相同类型的处理程序时,它是有用的。如果产品只有一个此类处理程序,则索引为0。

method ~CameraHandler

~CameraHandler()
Declaration: DJI.WindowsSDK.Components

Description:

​ 析构函数。不应该显式地调用它。

struct CameraFocusModeMsg

struct CameraFocusModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机对焦模式枚举值的类。

Struct Members:

CameraFocusMode value The actual value of the class.

struct CameraSDCardStateMsg

struct CameraSDCardStateMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机SD卡状态的类。

Struct Members:

CameraSDCardState value The actual value of the class.

struct CameraExposureModeMsg

struct CameraExposureModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机曝光模式的类。

Struct Members:

CameraExposureMode value The actual value of the class.

struct CameraTypeMsg

struct CameraTypeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含摄像机的摄像机类型的类。

Struct Members:

CameraType value The actual value of the class.

struct VideoFileCompressionStandardMsg

struct VideoFileCompressionStandardMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机压缩标准的类。

Struct Members:

VideoFileCompressionStandard value The actual value of the class.

struct CameraColorRangeMsg

struct CameraColorRangeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机颜色范围的类。

struct VideoResolutionFrameRate

struct VideoResolutionFrameRate
Declaration: DJI.WindowsSDK

Description:

​ 视频的分辨率和帧率

Struct Members:

VideoResolution resolution 分辨率
VideoFrameRate frameRate 帧速率。

struct CameraColorMsg

struct CameraColorMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机颜色的类。

Struct Members:

CameraColor value 类的实际值。

struct CameraExposureCompensationMsg

struct CameraExposureCompensationMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机曝光补偿值的类。

Struct Members:

CameraExposureCompensation value The actual value of the class.

struct CameraAntiFlickerMsg

struct CameraAntiFlickerMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机的反闪烁模式的类。

Struct Members:

CameraAntiFlicker value The actual value of the class.

struct PhotoRatioMsg

struct PhotoRatioMsg
Declaration: DJI.WindowsSDK

Description:

​ 一个包含照片比率的类。

Struct Members:

PhotoRatio value The actual value of the class.

struct GeneratedMediaFileInfo

struct GeneratedMediaFileInfo
Declaration: DJI.WindowsSDK

Description:

​ 新生成的媒体文件的信息。

Struct Members:

MediaFileType type The file format.
int index The file index.
int length The file size in bytes.
int time The created time of the file.

struct CameraShootPhotoModeMsg

struct CameraShootPhotoModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机的拍摄模式值的类。

Struct Members:

CameraShootPhotoMode value The actual value of the class.

struct CameraISOMsg

struct CameraISOMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机的ISO值的类。

Struct Members:

CameraISO value The actual value of the class.

struct CameraWorkModeMsg

struct CameraWorkModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机工作模式的类。

Struct Members:

CameraWorkMode value The actual value of the class.

struct CameraShutterSpeedMsg

struct CameraShutterSpeedMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机快门速度值的类。

Struct Members:

CameraShutterSpeed value The actual value of the class.

struct CameraActualFocusArea

struct CameraActualFocusArea
Declaration: DJI.WindowsSDK

Description:

​ 相机对焦的实际区域。

Struct Members:

int topLeftX The x index of the area’s top left corner.
int topLeftY The y index of the area’s top left corner.
int width The area’s width.
int height The area’s height.

struct CameraMeteringModeMsg

struct CameraMeteringModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 类包含相机的测光模式值。

Struct Members:

CameraMeteringMode value The actual value of the class.

struct PhotoStorageFormatMsg

struct PhotoStorageFormatMsg
Declaration: DJI.WindowsSDK

Description:

​ 类包含照片的存储格式。

Struct Members:

PhotoStorageFormat value The actual value of the class.

struct CameraFocusStateMsg

struct CameraFocusStateMsg
Declaration: DJI.WindowsSDK

Description:

​ 类包含相机的焦点状态。

Struct Members:

CameraFocusState value The actual value of the class.

struct CameraWhiteBalance

struct CameraWhiteBalance
Declaration: DJI.WindowsSDK

Description:

​ 一个类包含一些与白平衡相关的相机参数的当前值。

Struct Members:

CameraWhiteBalanceMode mode The preset white balance mode.
int colorTemperature The color temperature. It is only valid when CameraWhiteBalanceMode mode is MANUAL.

struct PhotoIntervalShootSettings

struct PhotoIntervalShootSettings
Declaration: DJI.WindowsSDK

Description:

​ 设置图片的数量,并设置图片之间的时间间隔为间隔拍摄照片模式。

Struct Members:

int count The number of photos to capture. The value range is [2, 255]. If 255 is selected, then the camera will continue to take pictures until StopShootPhotoAsync is called. For thermal imaging camera and Z30 camera, it can only be set to 255.
double interval The time interval between when two photos are taken. The range for this parameter depends the photo file format(PhotoStorageFormat). When the file format is JPEG, the range is [2, 2^16 - 1] seconds; when the file format is RAW or RAW+JPEG, the range is [10, 2^16 - 1] seconds.

struct CameraStorageLocationMsg

struct CameraStorageLocationMsg
Declaration: DJI.WindowsSDK

Description:

​ 类包含相机的存储位置。

Struct Members:

CameraStorageLocation value The actual value of the class.

enum CameraFocusMode

enum CameraFocusMode
Declaration: DJI.WindowsSDK

Description:

​ 照相机的焦点模式。对于可变镜头的相机,只有当相机上的物理对焦开关设置为自动时,对焦模式才有效。

Enum Members:

MANUAL The camera’s focus mode is set to manual. In this mode, user sets the focus ring value to adjust the focal distance.
AF The camera’s focus mode is set to auto. A focus target can be set by the user, which is used to calculate focus automatically.
AFC The camera’s focus mode is set to Continuous AF.
UNKNOWN Unknown.

enum CameraSDCardState

enum CameraSDCardState
Declaration: DJI.WindowsSDK

Description:

相机SD卡的状态。

Enum Members:

NORMAL The SD card is in the normal state.
NOT_INSERTED The SD card is not inserted.
INVALID The SD card is in invalid state.
READ_ONLY The SD card is in read-only state and write operation is not allowed.
FORMAT_NEEDED It is required to format the SD card before using it.
FORMATTING The SD card is being formatted.
INVALID_FILE_SYSTEM The SD card is using an invalid file system. Format the SD card before using it.
BUSY The SD card is busy.
FULL The SD card is full.
SLOW The SD card is too slow.
UNKOWN_ERROR The SD card encounters an unknown error.
NO_REMAINING_FILE_INDICES No remaining file indices for any new photos or videos.
INITIALIZING The SD card is in initializing state.
FORMAT_RECOMMENDED It is recommended to format the SD card before using it.
RECOVERING_FILES The camera is recovering the damaged files on the SD card.
WRITING_SLOWLY The SD card is being written in a slow speed.
UNKNOWN Unknown.

enum CameraExposureMode

enum CameraExposureMode
Declaration: DJI.WindowsSDK

Description:

​ 相机曝光模式。不同的曝光模式决定了光圈、快门速度、ISO是自动设置还是手动设置。曝光补偿可以在除手动模式以外的所有模式下进行更改,手动模式下无法设置曝光补偿。

​ 程序模式:快门:自动光圈:自动ISO:手动或自动

​ 快门优先:快门:手动光圈:自动ISO:手动或自动

​ 光圈优先:快门:自动光圈:手动ISO:手动或自动

​ 手动模式:快门:手动光圈:手动ISO:手动

Enum Members:

PROGRAM Program mode.
SHUTTER_PRIORITY Shutter priority mode.
APERTURE_PRIORITY Aperture priority mode.
MANUAL Manual mode.
UNKNOWN Unknown.

enum CameraShutterSpeed

enum CameraShutterSpeed
Declaration: DJI.WindowsSDK

Description:

​ 相机的快门速度选项。

Enum Members:

SHUTTER_SPEED1_8000 Camera’s shutter speed 1/8000 s.
SHUTTER_SPEED1_6400 Camera’s shutter speed 1/6400 s.
SHUTTER_SPEED1_6000 Camera’s shutter speed 1/6000 s.
SHUTTER_SPEED1_5000 Camera’s shutter speed 1/5000 s.
SHUTTER_SPEED1_4000 Camera’s shutter speed 1/4000 s.
SHUTTER_SPEED1_3200 Camera’s shutter speed 1/3200 s.
SHUTTER_SPEED1_3000 Camera’s shutter speed 1/3000 s.
SHUTTER_SPEED1_2500 Camera’s shutter speed 1/2500 s.
SHUTTER_SPEED1_2000 Camera’s shutter speed 1/2000 s.
SHUTTER_SPEED1_1600 Camera’s shutter speed 1/1600 s.
SHUTTER_SPEED1_1500 Camera’s shutter speed 1/1500 s.
SHUTTER_SPEED1_1250 Camera’s shutter speed 1/1250 s.
SHUTTER_SPEED1_1000 Camera’s shutter speed 1/1000 s.
SHUTTER_SPEED1_800 Camera’s shutter speed 1/800 s.
SHUTTER_SPEED1_725 Camera’s shutter speed 1/725 s.
SHUTTER_SPEED1_640 Camera’s shutter speed 1/640 s.
SHUTTER_SPEED1_500 Camera’s shutter speed 1/500 s.
SHUTTER_SPEED1_400 Camera’s shutter speed 1/400 s.
SHUTTER_SPEED1_350 Camera’s shutter speed 1/350 s.
SHUTTER_SPEED1_320 Camera’s shutter speed 1/320 s.
SHUTTER_SPEED1_250 Camera’s shutter speed 1/250 s.
SHUTTER_SPEED1_240 Camera’s shutter speed 1/240 s.
SHUTTER_SPEED1_200 Camera’s shutter speed 1/200 s.
SHUTTER_SPEED1_180 Camera’s shutter speed 1/180 s.
SHUTTER_SPEED1_160 Camera’s shutter speed 1/160 s.
SHUTTER_SPEED1_125 Camera’s shutter speed 1/125 s.
SHUTTER_SPEED1_120 Camera’s shutter speed 1/120 s.
SHUTTER_SPEED1_100 Camera’s shutter speed 1/100 s.
SHUTTER_SPEED1_90 Camera’s shutter speed 1/90 s.
SHUTTER_SPEED1_80 Camera’s shutter speed 1/80 s.
SHUTTER_SPEED1_60 Camera’s shutter speed 1/60 s.
SHUTTER_SPEED1_50 Camera’s shutter speed 1/50 s.
SHUTTER_SPEED1_40 Camera’s shutter speed 1/40 s.
SHUTTER_SPEED1_30 Camera’s shutter speed 1/30 s.
SHUTTER_SPEED1_25 Camera’s shutter speed 1/25 s.
SHUTTER_SPEED1_20 Camera’s shutter speed 1/20 s.
SHUTTER_SPEED1_15 Camera’s shutter speed 1/15 s.
SHUTTER_SPEED1_12DOT5 Camera’s shutter speed 1/12.5 s.
SHUTTER_SPEED1_10 Camera’s shutter speed 1/10 s.
SHUTTER_SPEED1_8 Camera’s shutter speed 1/8 s.
SHUTTER_SPEED1_6DOT25 Camera’s shutter speed 1/6.25 s.
SHUTTER_SPEED1_5 Camera’s shutter speed 1/5 s.
SHUTTER_SPEED1_4 Camera’s shutter speed 1/4 s.
SHUTTER_SPEED1_3 Camera’s shutter speed 1/3 s.
SHUTTER_SPEED1_2DOT5 Camera’s shutter speed 1/2.5 s.
SHUTTER_SPEED1_2 Camera’s shutter speed 1/2 s.
SHUTTER_SPEED1_1DOT67 Camera’s shutter speed 1/1.67 s.
SHUTTER_SPEED1_1DOT25 Camera’s shutter speed 1/1.25 s.
SHUTTER_SPEED1 Camera’s shutter speed 1.0 s.
SHUTTER_SPEED1DOT3 Camera’s shutter speed 1.3 s.
SHUTTER_SPEED1DOT6 Camera’s shutter speed 1.6 s.
SHUTTER_SPEED2 Camera’s shutter speed 2.0 s.
SHUTTER_SPEED2DOT5 Camera’s shutter speed 2.5 s.
SHUTTER_SPEED3 Camera’s shutter speed 3.0 s.
SHUTTER_SPEED3DOT2 Camera’s shutter speed 3.2 s.
SHUTTER_SPEED4 Camera’s shutter speed 4.0 s.
SHUTTER_SPEED5 Camera’s shutter speed 5.0 s.
SHUTTER_SPEED6 Camera’s shutter speed 6.0 s.
SHUTTER_SPEED7 Camera’s shutter speed 7.0 s.
SHUTTER_SPEED8 Camera’s shutter speed 8.0 s.
SHUTTER_SPEED9 Camera’s shutter speed 9.0 s.
SHUTTER_SPEED10 Camera’s shutter speed 10.0 s.
SHUTTER_SPEED13 Camera’s shutter speed 13.0 s.
SHUTTER_SPEED15 Camera’s shutter speed 15.0 s.
SHUTTER_SPEED20 Camera’s shutter speed 20.0 s.
SHUTTER_SPEED25 Camera’s shutter speed 25.0 s.
SHUTTER_SPEED30 Camera’s shutter speed 30.0 s.
SHUTTER_SPEED40 Camera’s shutter speed 40.0s.
SHUTTER_SPEED50 Camera’s shutter speed 50.0s.
SHUTTER_SPEED60 Camera’s shutter speed 60.0s.
SHUTTER_SPEED80 Camera’s shutter speed 80.0s.
SHUTTER_SPEED100 Camera’s shutter speed 100.0s.
SHUTTER_SPEED120 Camera’s shutter speed 120.0s.
UNKNOWN Unknown.

enum VideoResolution

enum VideoResolution
Declaration: DJI.WindowsSDK

Description:

​ 摄像机视频分辨率值。

Enum Members:

RESOLUTION_640x480 The camera’s video resolution is 640x480.
RESOLUTION_640x512 The camera’s video resolution is 640x512.
RESOLUTION_1280x720 The camera’s video resolution is 1280x720.
RESOLUTION_1920x960 The camera’s video resolution is 1920x960.
RESOLUTION_1920x1080 The camera’s video resolution is 1920x1080.
RESOLUTION_2048x1080 The camera’s video resolution is 2048x1080.
RESOLUTION_2704x1520 The camera’s video resolution is 2704x1520.
RESOLUTION_2720x1530 The camera’s video resolution is 2720x1530.
RESOLUTION_3840x1572 The camera’s video resolution is 3840x1572.
RESOLUTION_3840x2160 The camera’s video resolution is 3840x2160.
RESOLUTION_4096x2160 The camera’s video resolution is 4096x2160.
RESOLUTION_4608x2160 The camera’s video resolution is 4608x2160.
RESOLUTION_4608x2592 The camera’s video resolution is 4608x2592.
RESOLUTION_5280x2160 The camera’s video resolution is 5280x2160.
RESOLUTION_5280x2972 The camera’s video resolution is 5280x2972.
RESOLUTION_5760x3240 The camera’s video resolution is 5760x3240.
RESOLUTION_6016x3200 The camera’s video resolution is 2720x2040P.
RESOLUTION_4000x3000 The camera’s video resolution is 4000x3000.
RESOLUTION_2880x1620 The camera’s video resolution is 2880x1620.
RESOLUTION_MAX The camera’s video resolution will be maximum resolution supported by the camera sensor. For X5S and X4S, the maximum resolution is 5280x2972.
RESOLUTION_NO_SSD_VIDEO The camera’s SSD video resolution is unset. When the SSD resolution is unset, camera will not store video to SSD. SSD’s resolution is determined by both license key and SD card’s video frame rate. If there is no supported resolution with the current configuration, RESOLUTION_NO_SSD_VIDEO will be selected and user should adjust either the license or the frame rate.
RESOLUTION_2688x1512 The camera’s video resolution is 2688x1512.
RESOLUTION_2720x2040P The camera’s video resolution is 2720x2040.
UNKNOWN Unknown.

enum CameraType

enum CameraType
Declaration: DJI.WindowsSDK

Description:

​ 相机类型的设备。

Enum Members:

MAVIC_AIR_CAMERA The camera of mavic air.
MAVIC_2_ZOOM The camera of mavic 2 zoom.
P4P_V2_CAMERA The camera of p4p.
MAVIC_2_PRO The camera of mavic 2 pro.
ZENMUSE_XT Zenmuse XT camera.
ZENMUSE_X4s Zenmuse X4s camera.
ZENMUSE_X5s Zenmuse X5s camera.
ZENMUSE_X7 Zenmuse X7 camera.
ZENMUSE_X30 Zenmuse X30 camera.
ZENMUSE_XT2 Zenmuse XT2 camera.
Payload The camera of third-party paryload.
UNKNOWN Unknown.

enum VideoFileCompressionStandard

enum VideoFileCompressionStandard
Declaration: DJI.WindowsSDK

Description:

​ 摄像机视频文件压缩标准值。

Enum Members:

H264 H.264 format.
H265 H.265 format.
UNKNOWN Unknown.

enum VideoFrameRate

enum VideoFrameRate
Declaration: DJI.WindowsSDK

Description:

​ 摄像机视频帧速率值。

Enum Members:

RATE_24FPS The camera’s video frame rate is 23.976fps (frames per second).
RATE_25FPS The camera’s video frame rate is 25fps (frames per second).
RATE_30FPS The camera’s video frame rate is 29.97fps (frames per second).
RATE_48FPS The camera’s video frame rate is 47.95fps (frames per second).
RATE_50FPS The camera’s video frame rate is 50fps (frames per second).
RATE_60FPS The camera’s video frame rate is 59.94fps (frames per second).
RATE_90FPS The camera’s video frame rate is 90fps (frames per second).
RATE_96FPS The camera’s video frame rate is 96fps (frames per second).
RATE_100FPS The camera’s video frame rate is 100fps (frames per second).
RATE_120FPS The camera’s video frame rate is 120fps (frames per second).
RATE_180FPS The camera’s video frame rate is 180fps (frames per second).
RATE_192FPS The camera’s video frame rate is 192fps (frames per second).
RATE_200FPS The camera’s video frame rate is 200fps (frames per second).
RATE_240FPS The camera’s video frame rate is 240fps (frames per second).
RATE_400FPS The camera’s video frame rate is 400fps (frames per second).
RATE_480FPS The camera’s video frame rate is 480fps (frames per second).
RATE_PRECISE_24FPS The camera’s video frame rate is 24fps (frames per second).
RATE_PRECISE_30FPS The camera’s video frame rate is 30fps (frames per second).
RATE_PRECISE_48FPS The camera’s video frame rate is 48fps (frames per second).
RATE_PRECISE_60FPS The camera’s video frame rate is 60fps (frames per second).
RATE_8DOT7_FPS The camera’s video frame rate is 8.7fps (frames per second).
UNKNOWN Unknown.

enum CameraAntiFlicker

enum CameraAntiFlicker
Declaration: DJI.WindowsSDK

Description:

​ 相机anti-flicker选项。

Enum Members:

ANTI_FLICKER_AUTO The camera’s anti-flicker is automatically set.
ANTI_FLICKER_60HZ The camera’s anti-flicker is 60 Hz.
ANTI_FLICKER_50HZ The camera’s anti-flicker is 50 Hz.
ANTI_FLICKER_OFF The camera’s anti-flicker is off.
UNKNOWN Unknown.

enum CameraColor

enum CameraColor
Declaration: DJI.WindowsSDK

Description:

​ 相机颜色。

Enum Members:

NONE None.
ART Art.
REMINISCENCE Reminiscence.
D_CINE_LIKE D-Clinelike.
BLACK_WHITE Black and white.
D_LOG DLog.
FILM Film.
FILM_B Film B.
FILM_C Film C.
FILM_D Film D.
FILM_E Film E.
FILM_F Film F.
FILM_G Film G.
FILM_H Film H.
FILM_I Film I.
HLG HLG.
TRUE_COLOR True color.
UNKNOWN Unknown.

enum CameraExposureCompensation

enum CameraExposureCompensation
Declaration: DJI.WindowsSDK

Description:

​ 相机曝光补偿。

Enum Members:

NEG_5P0EV The camera’s exposure compensation is -5.0ev.
NEG_4P7EV The camera’s exposure compensation is -4.7ev.
NEG_4P3EV The camera’s exposure compensation is -4.3ev.
NEG_4P0EV The camera’s exposure compensation is -4.0ev.
NEG_3P7EV The camera’s exposure compensation is -3.7ev.
NEG_3P3EV The camera’s exposure compensation is -3.3ev.
NEG_3P0EV The camera’s exposure compensation is -3.0ev.
NEG_2P7EV The camera’s exposure compensation is -2.7ev.
NEG_2P3EV The camera’s exposure compensation is -2.3ev.
NEG_2P0EV The camera’s exposure compensation is -2.0ev.
NEG_1P7EV The camera’s exposure compensation is -1.7ev.
NEG_1P3EV The camera’s exposure compensation is -1.3ev.
NEG_1P0EV The camera’s exposure compensation is -1.0ev.
NEG_0P7EV The camera’s exposure compensation is -0.7ev.
NEG_0P3EV The camera’s exposure compensation is -0.3ev.
NEG_0EV The camera’s exposure compensation is 0.0ev.
POS_0P3EV The camera’s exposure compensation is +0.3ev.
POS_0P7EV The camera’s exposure compensation is +0.7ev.
POS_1P0EV The camera’s exposure compensation is +1.0ev.
POS_1P3EV The camera’s exposure compensation is +1.3ev.
POS_1P7EV The camera’s exposure compensation is +1.7ev.
POS_2P0EV The camera’s exposure compensation is +2.0ev.
POS_2P3EV The camera’s exposure compensation is +2.3ev.
POS_2P7EV The camera’s exposure compensation is +2.7ev.
POS_3P0EV The camera’s exposure compensation is +3.0ev.
POS_3P3EV The camera’s exposure compensation is +3.3ev.
POS_3P7EV The camera’s exposure compensation is +3.7ev.
POS_4P0EV The camera’s exposure compensation is +4.0ev.
POS_4P3EV The camera’s exposure compensation is +4.3ev.
POS_4P7EV The camera’s exposure compensation is +4.7ev.
POS_5P0EV The camera’s exposure compensation is +5.0ev.
UNKNOWN Unknown.

enum

CameraWorkMode

enum CameraWorkMode

enum CameraWorkMode
Declaration: DJI.WindowsSDK

Description:

​ 相机工作模式。

Enum Members:

SHOOT_PHOTO Shoot photo mode. In this mode, the user can shoot photos.
RECORD_VIDEO Record video mode. In this mode, the user can record videos.
PLAYBACK Playback mode. In this mode, the user can preview photos and videos, and can delete files.
MEDIA_DOWNLOAD In this mode, the user can download media to the Mobile Device.
BROADCAST In this mode, live stream resolution and frame rate will be 1080i50 (PAL) or 720p60 (NTSC). In this mode videos can be recorded. Still photos can also be taken only when video is recording. The only way to exit broadcast mode is to change modes to RECORD_VIDEO. Only supported by Inspire 2.
TRANSCODE In this mode, the user can download media to the Mobile Device.
UNKNOWN Unknown.

enum CameraShootPhotoMode

enum CameraShootPhotoMode
Declaration: DJI.WindowsSDK

Description:

​ ShootPhoto模式本身可以有几个模式。

Enum Members:

NORMAL Sets the camera to take a single photo.
HDR Sets the camera to take an HDR photo.
BURST Set the camera to take multiple photos at once.
AEB Automatic Exposure Bracketing (AEB) capture. In this mode you can quickly take multiple shots (the default is 3) at different exposures without having to manually change any settings between frames.
INTERVAL Sets the camera to take a picture (or multiple pictures) continuously at a set time interval.
RAW_BURST Sets the camera to take a burst of RAW photos. Use rawPhotoBurstCount to check how many photos have been shot. Only supported by X5S.
EHDR Sets the camera to take an enhanced-HDR photo. It blends a sequence of photos for ghost-free high dynamic range photos. It is supported by Mavic 2 Zoom and Mavic 2 Pro.
UNKNOWN Unknown.

enum CameraISO

enum CameraISO
Declaration: DJI.WindowsSDK

Description:

​ Camera ISO values.

Enum Members:

ISO_AUTO The ISO value is automatically set. This cannot be used for all cameras when in Manual mode.
ISO_100 The ISO value is set to 100.
ISO_200 The ISO value is set to 200.
ISO_400 The ISO value is set to 400.
ISO_800 The ISO value is set to 800.
ISO_1600 The ISO value is set to 1600.
ISO_3200 The ISO value is set to 3200.
ISO_6400 The ISO value is set to 6400.
ISO_12800 The ISO value is set to 12800.
ISO_25600 The ISO value is set to 25600.
ISO_FIXED ISO value is fixed by the camera firmware. When the digital filter is set to D-Log, camera will fix the ISO to a specific value in order to optimize the performance. The value set by camera can be accessed from ISO.
UNKNOWN Unknown.

enum PhotoRatio

enum PhotoRatio
Declaration: DJI.WindowsSDK

Description:

​ 照片宽高比,其中第一个值是宽度,第二个值是高度。

Enum Members:

RATIO_4COLON3 The camera’s photo ratio is 4:3.
RATIO_16COLON9 The camera’s photo ratio is 16:9.
RATIO_3COLON2 The camera’s photo ratio is 3:2. It is only supported by Phantom 4 Pro camera.
RATIO_SQUARE The camera’s photo ratio is 1:1.
RATIO_18COLON9 The camera’s photo ratio is 18:9.
UNKNOWN Unknown.

enum MediaFileType

enum MediaFileType
Declaration: DJI.WindowsSDK

Description:

媒体文件的文件类型。

Enum Members:

JPEG Image of JPEG format.
DNG Image of DNG format.
MOV Video of MOV format.
MP4 Video of MP4 format.
PANORAMA Panorama file type.
TIFF TIFF file type.
UNKNOWN Unknown.

enum CameraMeteringMode

enum CameraMeteringMode
Declaration: DJI.WindowsSDK

Description:

​ 相机测光方式。

Enum Members:

CENTER The camera’s exposure metering is set to the center.
AVERAGE The camera’s exposure metering is set to average.
SPOT The camera’s exposure metering is set to a single spot.
UNKNOWN Unknown.

enum PhotoStorageFormat

enum PhotoStorageFormat
Declaration: DJI.WindowsSDK

Description:

​ 相机照片文件格式。

Enum Members:

RAW The camera’s photo storage format is RAW.
JPEG The camera’s photo storage format is JPEG.
RAW_JPEG The camera stores both the RAW and JPEG formats of the photo.
UNKNOWN Unknown.

enum CameraFocusState

enum CameraFocusState
Declaration: DJI.WindowsSDK

Description:

​ 相机的对焦状态。

Enum Members:

IDLE The camera is idle. No focus target has been set.
FOCUSING The camera is focusing on the target.
SUCCESSFUL The camera succeeded to focus on the target.
FAILED The camera failed to focus on the target. This happens when the target is too close, or the camera cannot distinguish the object to focus (e.g. a white wall).
UNKNOWN Unknown.

enum CameraStorageLocation

enum CameraStorageLocation
Declaration: DJI.WindowsSDK

Description:

​ 相机支持不同的存储位置。

Enum Members:

SDCARD SD card.
EMMC The internal storage embedded in the aircraft. When it is available, the camera can shoot photos or record videos without SD card. It is only supported by Mavic Air.
UNKNOWN Unknown.

enum CameraZoomDirection

enum CameraZoomDirection
Declaration: DJI.WindowsSDK

Description:

​ 调整相机变焦(相机焦距)的方向。支持X5, X5R, X5S,变焦镜头,Z3相机,Z30相机,Mavic 2变焦相机和Mavic 2企业相机。

Enum Members:

ZOOM_IN Lens will zoom in. The focal length increases, field of view becomes narrower and magnification is higher.
ZOOM_OUT Lens will zoom out. The focal length decreases, field of view becomes wider and magnification is lower.
UNKNOWN Unknown.

enum CameraZoomSpeed

enum CameraZoomSpeed
Declaration: DJI.WindowsSDK

Description:

​ 镜头变焦的速度。镜头变焦的速度。支持X5, X5R, X5S,变焦镜头,Z3相机,Z30相机,Mavic 2变焦相机和Mavic 2企业相机。

Enum Members:

SLOWEST Lens zooms very in slowest speed.
SLOW Lens zooms in slow speed.
MODERATELY_SLOW Lens zooms in speed slightly slower than normal speed.
NORMAL Lens zooms in normal speed.
MODERATELY_FAST Lens zooms very in speed slightly faster than normal speed.
FAST Lens zooms very in fast speed…
UNKNOWN Unknown.

enum VideoStorageFormat

enum VideoStorageFormat
Declaration: DJI.WindowsSDK

Description:

​ 视频的存储格式。

Enum Members:

MOV MOV format.
MP4 MP4 format.
UNKNOWN Unknown.

enum PhotoBurstCount

enum PhotoBurstCount
Declaration: DJI.WindowsSDK

Description:

​ 一次突发拍摄的照片数量(以突发模式拍摄照片)。

Enum Members:

COUNT3 The camera burst shoot count is set to capture 3 pictures at once when the camera shoots a photo.
COUNT5 The camera burst shoot count is set to capture 5 pictures at once when the camera shoots a photo.
COUNT10 The camera burst shoot count is set to capture 10 pictures at once when the camera shoots a photo.
COUNT14 The camera burst shoot count is set to capture 14 pictures at once when the camera shoots a photo.
UNKNOWN Unknown.

enum CameraAutoTurnOffLEDMode

enum CameraAutoTurnOffLEDMode
Declaration: DJI.WindowsSDK

Description:

​ 确定飞机的哪些发光二极管处于自动控制状态。仅支持Mavic Pro, Mavic Air,和Mavic 2系列。

Enum Members:

DISABLED Disabled.
FRONT_LEDS_ONLY Front LEDs is enabled.
BACK_LEDS_ONLY Back LEDs is enabled.
ALL_LEDS All LEDs is enabled.
UNKNOWN Unknown.

enum CameraThermalROI

enum CameraThermalROI
Declaration: DJI.WindowsSDK

Description:

​ 感兴趣的区域。使用此特性来管理整个屏幕的颜色范围分布,以最大化感兴趣区域的对比度。

Enum Members:

FULL Causes the color spectrum to be evenly distributed across the entire image depending the default settings.
SKY_EXCLUDED33 Ignores areas of the sky 33% so that most of the spectrum can be allocated to remaining areas, providing higher contrast and utility for analysis.
SKY_EXCLUDED50 Ignores areas of the sky 50% so that most of the spectrum can be allocated to remaining areas, providing higher contrast and utility for analysis.
UNKNOWN The ROI type is unknown.

enum CameraThermalPalette

enum CameraThermalPalette
Declaration: DJI.WindowsSDK

Description:

​ 在热成像图像中,用不同的颜色显示不同的温度。颜色实际上与光的波长无关,而是与灰度强度有关。

Enum Members:

WHITE_HOT Without Isotherm enabled, the Palette type is WhiteHot. With Isotherm enabled, the Palette type is WhiteHotIso.
BLACK_HOT Without Isotherm enabled, the Palette type is BlackHot. With Isotherm enabled, the Palette type is BlackHotIso.
RED_HOT Without Isotherm enabled, the Palette type is RedHot. With Isotherm enabled, the Palette type is RedHotIso.
GREEN_HOT Without Isotherm enabled, the Palette type is GreenHot. With Isotherm enabled, the Palette type is GreenHotIso.
FUSION Without Isotherm enabled, the Palette type is Fusion. With Isotherm enabled, the Palette type is FusionIso.
RAINBOW Without Isotherm enabled, the Palette type is Rainbow. With Isotherm enabled, the Palette type is RainbowIso.
IRONBOW1 Without Isotherm enabled, the Palette type is Ironbow1. With Isotherm enabled, the Palette type is IronbowWHIso.
IRONBOW2 Without Isotherm enabled, the Palette type is Ironbow2. With Isotherm enabled, the Palette type is IronbowBHIso.
ICE_FIRE Without Isotherm enabled, the Palette type is IceFire. With Isotherm enabled, the Palette type is IceFireIso.
SEPIA Without Isotherm enabled, the Palette type is Sepia. With Isotherm enabled, the Palette type is SepiaIso.
GLOWBOW Without Isotherm enabled, the Palette type is Glowbow. With Isotherm enabled, the Palette type is GlowbowIso.
COLOR1 Without Isotherm enabled, the Palette type is Color1. With Isotherm enabled, the Palette type is MidRangeWHIso.
COLOR2 Without Isotherm enabled, the Palette type is Color2. With Isotherm enabled, the Palette type is MidRangeBHIso.
RAIN Without Isotherm enabled, the Palette type is Rain. With Isotherm enabled, the Palette type is RainbowHCIso.
HOT_SPOT Without Isotherm enabled, the Palette type is HotSpot. With Isotherm enabled, the Palette type is HotSpotIso. Only supported by Mavic 2 Enterprise Dual.
RAINBOW2 Without Isotherm enabled, the Palette type is Rainbow2. With Isotherm enabled, the Palette type is Rainbow2Iso. Only supported by Mavic 2 Enterprise Dual.
GRAY Without Isotherm enabled, the Palette type is Gray. With Isotherm enabled, the Palette type is GrayIso. Only supported by Mavic 2 Enterprise Dual.
METAL Without Isotherm enabled, the Palette type is HotMetal. With Isotherm enabled, the Palette type is HotMetalIso. Only supported by Mavic 2 Enterprise Dual.
COLD_SPOT Without Isotherm enabled, the Palette type is ColdSpot. With Isotherm enabled, the Palette type is ColdSpotIso. Only supported by Mavic 2 Enterprise Dual.
UNKNOWN The palette type is unknown.

enum CameraThermalGainMode

enum CameraThermalGainMode
Declaration: DJI.WindowsSDK

Description:

​ 收益模式。

Enum Members:

AUTO The camera will automatically select the optimal gain mode according to the temperature range of the image.
LOW The camera covers a wider temperature range but is less sensitive to temperature differences.
HIGH The camera covers a smaller temperature range but is more sensitive to temperature differences.
UNKNOWN The gain mode is unknown.

enum CameraThermalFFCMode

enum CameraThermalFFCMode
Declaration: DJI.WindowsSDK

Description:

​ 平面场修正插件。

Enum Members:

AUTO Automatic flat-field correction mode.
MANUAL Manual flat-field correction mode.
UNKNOWN Unknown flat-field correction mode.

enum CameraThermalMeasurementMode

enum CameraThermalMeasurementMode
Declaration: DJI.WindowsSDK

Description:

​ 热相机温度测量模式。默认值是DJICameraThermalMeasurementModeDisabled。

Enum Members:

DISABLED Disable temperature measuring.
SPOT_METERING Enable temperature measurement and set mode to spot metering.
AREA_METERING Enable temperature measurement and set mode to area metering.
UNKNOWN Thermal camera’s temperature measurement mode is unknown.

enum CameraDisplayMode

enum CameraDisplayMode
Declaration: DJI.WindowsSDK

Description:

​ 显示模式来协调来自视觉摄像机和热感摄像机的视频信号。仅支持XT2摄像头和Mavic 2企业双摄像头。

Enum Members:

VISUAL_ONLY 只显示来自可视摄像机的视频。
THERMAL_ONLY 只显示来自热感摄像机的视频。
PIP 将来自可视摄像机的视频作为主主题显示,并将来自热感摄像机的视频显示在一个不大于主主题的窗口中。Mavic 2 Enterprise Dual不支持。
MSX 多光谱动态成像。将视觉摄像机和热感摄像机的视频信号融合在一起。通过检测物体的边缘并在热成像中包含细节,为红外图像添加可见光谱清晰度。
UNKNOWN 热视频输入显示模式未知。

enum CameraTemperatureUnit

enum CameraTemperatureUnit
Declaration: DJI.WindowsSDK

Description:

​ 温度单位。

Enum Members:

FAHRENHEIT Use degree Fahrenheit as the unit.
CELSIUS Use degree Celsius as the unit.
UNKNOWN Unknown.

enum CameraThermalIsothermUnit

enum CameraThermalIsothermUnit
Declaration: DJI.WindowsSDK

Description:

​ 单位类型为百分比。允许的范围是[0,100]。

Enum Members:

PERCENTAGE The unit type is percentage. The allowed range is [0, 100].
CELSIUS The unit type is degrees Celsius. The allowed range is [-40, 1000].
UNKNOWN The unit type is unknown.

enum CameraFileIndexMode

enum CameraFileIndexMode
Declaration: DJI.WindowsSDK

Description:

​ 文件索引模式。

Enum Members:

UNKNOWN The mode is unknown.
SEQUENCE Camera will set the newest file’s index to the larger of either the maximum number of photos taken on the SD card or the camera.
RESET Camera will reset the newest file’s index to be one larger than the largest number of photos taken on the SD card.

struct CameraFileIndexModeMsg

struct CameraFileIndexModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机的文件索引模式的类。

Struct Members:

CameraFileIndexMode value The actual value of the class.

struct CameraOpticalZoomSpec

struct CameraOpticalZoomSpec
Declaration: DJI.WindowsSDK

Description:

​ 变焦镜头。包括焦距范围和最小焦距步长。支持X5, X5R, X5S,变焦镜头,Z3相机,Z30相机。

Struct Members:

int minFocalLength The minimum focal length of the lens in units of 0.1mm.
int focalLengthStep The minimum interval of focal length change in units of 0.1mm.
int maxFocalLength The maximum focal length of the lens in units of 0.1mm.

struct CameraThermalGainModeMsg

struct CameraThermalGainModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机热增益模式的类。仅支持XT2, Mavic 2 Enterprise Dual和Zenmuse XT包含先进的辐射测量能力。

Struct Members:

CameraThermalGainMode value The actual value of the class.

struct CameraThermalIsothermUnitMsg

struct CameraThermalIsothermUnitMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含等温线单元的类。

Struct Members:

CameraThermalIsothermUnit value The actual value of the class.

struct CameraTemperatureUnitMsg

struct CameraTemperatureUnitMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含温度单元的类。

Struct Members:

CameraTemperatureUnit value The actual value of the class.

struct CameraThermalPaletteRangeMsg

struct CameraThermalPaletteRangeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机所支持的热调色板范围的类。

struct CameraDisplayModeMsg

struct CameraDisplayModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含相机显示模式的类。

Struct Members:

CameraDisplayMode value The actual value of the class.

struct PhotoBurstCountMsg

struct PhotoBurstCountMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含camera的brust计数的类。

Struct Members:

PhotoBurstCount value The actual value of the class.

struct CameraWatermarkSettings

struct CameraWatermarkSettings
Declaration: DJI.WindowsSDK

Description:

​ 水印配置来决定是否将时间戳和位置戳添加到照片或视频中。

Struct Members:

bool enabledForPhotos True if the timestamp and the location stamp is added to photos.
bool enabledForVideos True if the timestamp and the location stamp is added to videos. The stamps are updated during the videos.

struct CameraContinuousOpticalZoomParam

struct CameraContinuousOpticalZoomParam
Declaration: DJI.WindowsSDK

Description:

​ 包含启动连续光学缩放的参数的类。

Struct Members:

CameraZoomSpeed speed Zoom speed.
CameraZoomDirection direction Direction to zoom.

struct CameraAutoTurnOffLEDModeMsg

struct CameraAutoTurnOffLEDModeMsg
Declaration: DJI.WindowsSDK

Description:

​ A class that contains the mode.

struct Members:

CameraAutoTurnOffLEDMode value The actual value of the class.

struct CameraThermalPaletteMsg

struct CameraThermalPaletteMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含不同颜色的类用于显示热图像中的不同温度。

Struct Members:

CameraThermalPalette value The actual value of the class.

struct CameraThermalFFCModeMsg

struct CameraThermalFFCModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含热FFC模式的类。

Struct Members:

CameraThermalFFCMode value The actual value of the class.

struct CameraThermalMeasurementModeMsg

struct CameraThermalMeasurementModeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含热测量模式的类。

Struct Members:

CameraThermalMeasurementMode value The actual value of the class.

struct VideoStorageFormatMsg

struct VideoStorageFormatMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含视频存储格式的类。

Struct Members:

VideoStorageFormat value The actual value of the class.

struct CameraHistogram

struct CameraHistogram
Declaration: DJI.WindowsSDK

Description:

​ 包含直方图值的类。

struct CameraThermalROIMsg

struct CameraThermalROIMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含摄像机热ROI的类。

Struct Members:

CameraThermalROI value The actual value of the class.

method ThermalTriggerFFCAsync

async Task ThermalTriggerFFCAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 触发平面场校正。只支持热成像相机。

Return:

async Task A Task object.

struct CameraOrientationMsg

struct CameraOrientationMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含摄像机方向的类。

Struct Members:

CameraOrientation value The actual value of the class.

enum CameraOrientation

enum CameraOrientation
Declaration: DJI.WindowsSDK

Description:

​ 相机的物理方向。

Enum Members:

CW180 180 degrees in the clockwise direction from the default landscape orientation.
CW270 270 degrees in the clockwise direction from the default landscape orientation.
CW90 90 degrees in the clockwise direction from the default landscape orientation.
DEFAULT Default.
UNKNOWN Unknown.

struct CameraPanoTypeMsg

struct CameraPanoTypeMsg
Declaration: DJI.WindowsSDK

Description:

​ 包含全景类型的类。

Struct Members:

CameraPanoType value The actual value of the class.

enum CameraPanoType

enum CameraPanoType
Declaration: DJI.WindowsSDK

Description:

​ 全景照片类型。

Enum Members:

TYPE_360AUTO 360 degrees panorama.
TYPE_BALL Ball panorama.
TYPE_CYLINDRICAL Cylindrical 180 degrees panorama.
TYPE_MANUAL Mannually panorama.
TYPE_SECTORIAL 3x3 panorama.
TYPE_SELF Self panorama.
TYPE_VERTICAL Vertical panorama.
UNKNOWN Unknown.

delegate CameraAntiFlickerMsgChangedEventHandler

delegate void CameraAntiFlickerMsgChangedEventHandler(object sender, CameraAntiFlickerMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraAntiFlickerMsg '中已更新值的委托类型。

delegate CameraISOMsgChangedEventHandler

delegate void CameraISOMsgChangedEventHandler(object sender, CameraISOMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraISOMsg '中更新值的委托类型。

delegate CameraColorMsgChangedEventHandler

delegate void CameraColorMsgChangedEventHandler(object sender, CameraColorMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraColorMsg '中更新值的委托类型。

delegate PhotoIntervalShootSettingsChangedEventHandler

delegate void PhotoIntervalShootSettingsChangedEventHandler(object sender, PhotoIntervalShootSettings? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型为“PhotoIntervalShootSettings”中的更新值的委托类型。

delegate PhotoStorageFormatMsgChangedEventHandler

delegate void PhotoStorageFormatMsgChangedEventHandler(object sender, PhotoStorageFormatMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ PhotoStorageFormatMsg '中的更新值的委托类型。

delegate CameraFocusModeMsgChangedEventHandler

delegate void CameraFocusModeMsgChangedEventHandler(object sender, CameraFocusModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraFocusModeMsg '中更新的值的委托类型。

delegate CameraShootPhotoModeMsgChangedEventHandler

delegate void CameraShootPhotoModeMsgChangedEventHandler(object sender, CameraShootPhotoModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraShootPhotoModeMsg '中更新的值的委托类型。

delegate CameraShutterSpeedMsgChangedEventHandler

delegate void CameraShutterSpeedMsgChangedEventHandler(object sender, CameraShutterSpeedMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraShutterSpeedMsg '中的更新值的委托类型。

delegate CameraWhiteBalanceChangedEventHandler

delegate void CameraWhiteBalanceChangedEventHandler(object sender, CameraWhiteBalance? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraWhiteBalance '中更新值的委托类型。

delegate CameraWorkModeMsgChangedEventHandler

delegate void CameraWorkModeMsgChangedEventHandler(object sender, CameraWorkModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraWorkModeMsg '中更新的值的委托类型。

delegate PhotoRatioMsgChangedEventHandler

delegate void PhotoRatioMsgChangedEventHandler(object sender, PhotoRatioMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“PhotoRatioMsg”中更新的值的委托类型。

delegate CameraExposureCompensationMsgChangedEventHandler

delegate void CameraExposureCompensationMsgChangedEventHandler(object sender, CameraExposureCompensationMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraExposureCompensationMsg '中已更新的值的委托类型。

delegate CameraActualFocusAreaChangedEventHandler

delegate void CameraActualFocusAreaChangedEventHandler(object sender, CameraActualFocusArea? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraActualFocusArea '中更新值的委托类型。

delegate CameraMeteringModeMsgChangedEventHandler

delegate void CameraMeteringModeMsgChangedEventHandler(object sender, CameraMeteringModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraMeteringModeMsg '中更新的值的委托类型。

delegate VideoResolutionFrameRateChangedEventHandler

delegate void VideoResolutionFrameRateChangedEventHandler(object sender, VideoResolutionFrameRate? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“VideoResolutionFrameRate”中更新的值的委托类型。

delegate CameraFocusStateMsgChangedEventHandler

delegate void CameraFocusStateMsgChangedEventHandler(object sender, CameraFocusStateMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraFocusStateMsg '中更新的值的委托类型。

delegate CameraExposureModeMsgChangedEventHandler

delegate void CameraExposureModeMsgChangedEventHandler(object sender, CameraExposureModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraExposureModeMsg '中已更新的值的委托类型。

delegate GeneratedMediaFileInfoChangedEventHandler

delegate void GeneratedMediaFileInfoChangedEventHandler(object sender, GeneratedMediaFileInfo? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“GeneratedMediaFileInfo”中更新的值的委托类型。

delegate CameraSDCardStateMsgChangedEventHandler

delegate void CameraSDCardStateMsgChangedEventHandler(object sender, CameraSDCardStateMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraSDCardStateMsg '中更新值的委托类型。

delegate CameraColorRangeMsgChangedEventHandler

delegate void CameraColorRangeMsgChangedEventHandler(object sender, CameraColorRangeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraColorRangeMsg ’ . '中已更新值的委托类型。

delegate CameraTypeMsgChangedEventHandler

delegate void CameraTypeMsgChangedEventHandler(object sender, CameraTypeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraTypeMsg '中更新的值的委托类型。

delegate VideoFileCompressionStandardMsgChangedEventHandler

delegate void VideoFileCompressionStandardMsgChangedEventHandler(object sender, VideoFileCompressionStandardMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“VideoFileCompressionStandardMsg”中的更新值的委托类型。

delegate CameraThermalGainModeMsgChangedEventHandler

delegate void CameraThermalGainModeMsgChangedEventHandler(object sender, CameraThermalGainModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalGainModeMsg '中更新的值的委托类型。

delegate CameraHistogramChangedEventHandler

delegate void CameraHistogramChangedEventHandler(object sender, CameraHistogram? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraHistogram '中更新的值的委托类型。

delegate CameraThermalPaletteRangeMsgChangedEventHandler

delegate void CameraThermalPaletteRangeMsgChangedEventHandler(object sender, CameraThermalPaletteRangeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalPaletteRangeMsg '中更新值的委托类型。

delegate CameraTemperatureUnitMsgChangedEventHandler

delegate void CameraTemperatureUnitMsgChangedEventHandler(object sender, CameraTemperatureUnitMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraTemperatureUnitMsg '中更新值的委托类型。

delegate IntMinMaxChangedEventHandler

delegate void IntMinMaxChangedEventHandler(object sender, IntMinMax? value)
Declaration: DJI.WindowsSDK

description:

​ 用于订阅类型’ IntMinMax '中的更新值的委托类型。

delegate CameraThermalIsothermUnitMsgChangedEventHandler

delegate void CameraThermalIsothermUnitMsgChangedEventHandler(object sender, CameraThermalIsothermUnitMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalIsothermUnitMsg '中更新的值的委托类型。

delegate VideoStorageFormatMsgChangedEventHandler

delegate void VideoStorageFormatMsgChangedEventHandler(object sender, VideoStorageFormatMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“VideoStorageFormatMsg”中已更新的值的委托类型。

delegate CameraThermalMeasurementModeMsgChangedEventHandler

delegate void CameraThermalMeasurementModeMsgChangedEventHandler(object sender, CameraThermalMeasurementModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalMeasurementModeMsg '中更新值的委托类型。

delegate CameraThermalFFCModeMsgChangedEventHandler

delegate void CameraThermalFFCModeMsgChangedEventHandler(object sender, CameraThermalFFCModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalFFCModeMsg '中更新值的委托类型。

delegate PhotoBurstCountMsgChangedEventHandler

delegate void PhotoBurstCountMsgChangedEventHandler(object sender, PhotoBurstCountMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型“PhotoBurstCountMsg”中的更新值的委托类型。

delegate CameraThermalPaletteMsgChangedEventHandler

delegate void CameraThermalPaletteMsgChangedEventHandler(object sender, CameraThermalPaletteMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalPaletteMsg '中更新的值的委托类型。

delegate CameraAutoTurnOffLEDModeMsgChangedEventHandler

delegate void CameraAutoTurnOffLEDModeMsgChangedEventHandler(object sender, CameraAutoTurnOffLEDModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ cameraauto循环ffledmodemsg '中更新的值的委托类型。

delegate CameraOpticalZoomSpecChangedEventHandler

delegate void CameraOpticalZoomSpecChangedEventHandler(object sender, CameraOpticalZoomSpec? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraOpticalZoomSpec '中更新的值的委托类型。

delegate CameraFileIndexModeMsgChangedEventHandler

delegate void CameraFileIndexModeMsgChangedEventHandler(object sender, CameraFileIndexModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraFileIndexModeMsg '中更新的值的委托类型。

delegate CameraThermalROIMsgChangedEventHandler

delegate void CameraThermalROIMsgChangedEventHandler(object sender, CameraThermalROIMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraThermalROIMsg '中更新的值的委托类型。

delegate CameraDisplayModeMsgChangedEventHandler

delegate void CameraDisplayModeMsgChangedEventHandler(object sender, CameraDisplayModeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraDisplayModeMsg '中更新值的委托类型。

delegate CameraOrientationMsgChangedEventHandler

delegate void CameraOrientationMsgChangedEventHandler(object sender, CameraOrientationMsg? value)
Declaration: DJI.WindowsSDK

Description:

用于订阅类型’ CameraOrientationMsg '中更新值的委托类型。

delegate CameraPanoTypeMsgChangedEventHandler

delegate void CameraPanoTypeMsgChangedEventHandler(object sender, CameraPanoTypeMsg? value)
Declaration: DJI.WindowsSDK

Description:

​ 用于订阅类型’ CameraPanoTypeMsg '中更新值的委托类型。

Methods:

method GetIsTakingPhotoAsync

async Task> GetIsTakingPhotoAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查一下相机是否在拍照。

Return:

async Task> A Task> object.

method GetCameraTypeAsync

async Task> GetCameraTypeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取飞机的相机类型。

Return:

async Task> A Task> object.

method GetCameraColorRangeAsync

async Task> GetCameraColorRangeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

Getter the camera color of the camera.

Return:

async Task> A Task> object.

method GetIsRecordingAsync

async Task> GetIsRecordingAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查一下摄像机是否在录像。

Return:

async Task> A Task> object.

method GetVideoFileCompressionStandardAsync

async Task> GetVideoFileCompressionStandardAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取视频文件压缩标准。

Return:

async Task> A Task> object.

method SetVideoFileCompressionStandardAsync

async Task SetVideoFileCompressionStandardAsync(VideoFileCompressionStandardMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设定飞机的视频文件播放标准。

Input Parameters:

VideoFileCompressionStandardMsg value A parameter object of type VideoFileCompressionStandardMsg.

Return:

async Task A Task object.

method SetPhotoRatioAsync

async Task SetPhotoRatioAsync(PhotoRatioMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的照片比例。

Input Parameters:

PhotoRatioMsg value A parameter object of type PhotoRatioMsg.

Return:

async Task A Task object.

method GetPhotoRatioAsync

async Task> GetPhotoRatioAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查相机的照片比例。.

Return:

async Task> A Task> object.

method SetISOAsync

async Task SetISOAsync(CameraISOMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的ISO。

Input Parameters:

CameraISOMsg value A parameter object of type CameraISOMsg.

Return:

async Task A Task object.

method GetISOAsync

async Task> GetISOAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查一下相机的ISO。

Return:

async Task> A Task> object.

method StartRecordAsync

async Task StartRecordAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 开始录像。它只在相机工作模式为’ RECORD_VIDEO ‘时有效。开始的视频应该停止调用’ StopRecordAsync '。

Return:

async Task A Task object.

method StopRecordAsync

async Task StopRecordAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 停止录制视频。它只在相机录制视频时有效。

Return:

async Task A Task object.

method SetCameraWorkModeAsync

async Task SetCameraWorkModeAsync(CameraWorkModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 将相机的工作模式设置为拍照、录像、回放或下载。请注意,您不能在执行特定任务时更改模式,例如拍照、录制视频或下载和保存文件。也支持热成像相机。

Input Parameters:

CameraWorkModeMsg value A parameter object of type CameraWorkModeMsg.

Return:

async Task A Task object.

method GetCameraWorkModeAsync

async Task> GetCameraWorkModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查相机的工作模式。

Return:

async Task> A Task> object.

method GetCameraSDCardInsertedAsync

async Task> GetCameraSDCardInsertedAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查SD卡是否插入到相机。

Return:

async Task> A Task> object.

method GetCameraSDCardStateAsync

async Task> GetCameraSDCardStateAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查相机的SD卡状态。

Return:

async Task> A Task> object.

method GetCameraStoringFileAsync

async Task> GetCameraStoringFileAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查相机是否正在存储文件。

Return:

async Task> A Task> object.

method GetSDCardTotalSpaceAsync

async Task> GetSDCardTotalSpaceAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取SD卡以MB计的总存储空间。

Return:

async Task> A Task> object.

method GetSDCardRemainSpaceAsync

async Task> GetSDCardRemainSpaceAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取SD卡的剩余空间(单位为MB)。

Return:

async Task> A Task> object.

method GetSDCardAvailablePhotoCountAsync

async Task> GetSDCardAvailablePhotoCountAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 检查在存储空间剩余的可用空间内可以拍摄的图片数量。

Return:

async Task> A Task> object.

method GetSDCardAvailableVideoDurationAsync

async Task> GetSDCardAvailableVideoDurationAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取检查存储上剩余可用空间可用的记录秒数。

Return:

async Task> A Task> object.

method GetRecordingTimeAsync

async Task> GetRecordingTimeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 查看当前摄像机录制的视频的时长(以秒为单位)。

Return:

async Task> A Task> object.

method SetExposureModeAsync

async Task SetExposureModeAsync(CameraExposureModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的曝光模式。检查‘CameraExposureMode’以查看所有可能的相机曝光模式。请注意,在不同的曝光模式下,相同的设置会有不同的值。

Input Parameters:

CameraExposureModeMsg value A parameter object of type CameraExposureModeMsg.

Return:

async Task A Task object.

method GetExposureModeAsync

async Task> GetExposureModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 去检查一下相机的曝光模式。

Return:

async Task> A Task> object.

method SetShutterSpeedAsync

async Task SetShutterSpeedAsync(CameraShutterSpeedMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机快门速度。要查看所有可用的“shutterSpeed”值设置,请查看“CameraShutterSpeed”。当相机的模式为“RECORD_VIDEO”时,快门速度不能设置得比视频帧速度慢。例如,如果视频帧速率是30fps,快门速度必须是<= 1/30。

​ 前置条件:只有在相机曝光模式为快门模式或手动模式时,才能设置快门速度。

Input Parameters:

CameraShutterSpeedMsg value A parameter object of type CameraShutterSpeedMsg.

Return:

async Task A Task object.

method GetShutterSpeedAsync

async Task> GetShutterSpeedAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的快门速度。

Return:

async Task> A Task> object.

method GetVideoResolutionFrameRateAsync

async Task> GetVideoResolutionFrameRateAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的视频分辨率和帧速率值。

Return:

async Task> A Task> object.

method SetVideoResolutionFrameRateAsync

async Task SetVideoResolutionFrameRateAsync(VideoResolutionFrameRate value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的视频分辨率和帧率。

Input Parameters:

VideoResolutionFrameRate value A parameter object of type VideoResolutionFrameRate.

Return:

async Task A Task object.

method SetAntiFlickerAsync

async Task SetAntiFlickerAsync(CameraAntiFlickerMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置摄像机录像时的反闪烁频率。

​ 前置条件:曝光模式必须是有计划的。

Input Parameters:

CameraAntiFlickerMsg value A parameter object of type CameraAntiFlickerMsg.

Return:

async Task A Task object.

method GetAntiFlickerAsync

async Task> GetAntiFlickerAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 得到相机的反闪烁。

Return:

async Task> A Task> object.

method SetCameraColorAsync

async Task SetCameraColorAsync(CameraColorMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的颜色。

Input Parameters:

CameraColorMsg value A parameter object of type CameraColorMsg.

Return:

async Task A Task object.

method GetCameraColorAsync

async Task> GetCameraColorAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的颜色。

Return:

async Task> A Task> object.

method SetExposureCompensationAsync

async Task SetExposureCompensationAsync(CameraExposureCompensationMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的曝光补偿。请参阅“CameraExposureCompensation”以查看相机可以设置的所有可能的曝光补偿。要使用此功能,请将相机曝光模式设置为快门、程序或光圈。

Input Parameters:

CameraExposureCompensationMsg value A parameter object of type CameraExposureCompensationMsg.

Return:

async Task A Task object.

method GetExposureCompensationAsync

async Task> GetExposureCompensationAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得相机的曝光补偿。

Return:

async Task> A Task> object.

method SetAELockEnabledAsync

async Task SetAELockEnabledAsync(BoolMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 锁定或解锁相机的自动曝光(自动曝光)。

​ 后置条件:如果AE锁定启用,点位测光区域无法设置。

Input Parameters:

BoolMsg value A parameter object of type BoolMsg.

Return:

async Task A Task object.

method GetAELockEnabledAsync

async Task> GetAELockEnabledAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 确定相机的自动曝光(自动曝光)是否锁定。

Return:

async Task> A Task> object.

method SetCameraFocusModeAsync

async Task SetCameraFocusModeAsync(CameraFocusModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置镜头对焦模式。

Input Parameters:

CameraFocusModeMsg value A parameter object of type CameraFocusModeMsg.

Return:

async Task A Task object.

method GetCameraFocusModeAsync

async Task> GetCameraFocusModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取镜头对焦模式。

Return:

async Task> A Task> object.

method GetCameraFocusTargetAsync

async Task> GetCameraFocusTargetAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的焦点用于自动对焦的目标点。

Return:

async Task> A Task> object.

method SetCameraFocusTargetAsync

async Task SetCameraFocusTargetAsync(DoublePoint2D value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置镜头焦距目标点。当焦点模式为自动时,目标点为焦点。当对焦模式为手动模式时,如果对焦助手支持并启用手动模式,则目标点是缩小区域。

Input Parameters:

DoublePoint2D value A parameter object of type DoublePoint2D.

Return:

async Task A Task object.

method GetCameraFocusRingValueAsync

async Task> GetCameraFocusRingValueAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的对焦环值。

Return:

async Task> A Task> object.

method SetCameraFocusRingValueAsync

async Task SetCameraFocusRingValueAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 通过模拟对焦环的调节来设置焦距。Value的范围可以是[0,’ GetCameraFocusRingMaxValueAsync '],表示无穷大和最近可能的焦距。对于某些镜头,最小对焦圈值大于0。例如,DJI MFT 15mm f/1.7 ASPH的最小值是270。要检索最小值,请执行以下步骤:

(1)使用AF调用SetCameraFocusModeAsync。

(2)用最远的目标(30m)调用’ SetCameraFocusTargetAsync '。

(3)调用’ GetCameraFocusRingValueAsync ‘获取当前焦点环的值。这是最小值。最大值可以使用’ GetCameraFocusRingMaxValueAsync '来获取。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method GetCameraFocusRingMaxValueAsync

async Task> GetCameraFocusRingMaxValueAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机对焦环值的最大值。

Return:

async Task> A Task> object.

method GetCameraActualFocusAreaAsync

async Task> GetCameraActualFocusAreaAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机所聚焦的实际区域。用户输入的焦点目标是一个点。相机将使用目标周围的区域作为聚焦的参考。

Return:

async Task> A Task> object.

method GetCameraFocusPointCountAsync

async Task> GetCameraFocusPointCountAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取二维焦点点数。相机的焦点是有限的和离散的。

Return:

async Task> A Task> object.

method GetExposureMeteringPointCountAsync

async Task> GetExposureMeteringPointCountAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取2维曝光点测光点计数。相机的测光点计数是有限的和离散的。

Return:

async Task> A Task> object.

method SetCameraMeteringModeAsync

async Task SetCameraMeteringModeAsync(CameraMeteringModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机测光方式。

Input Parameters:

CameraMeteringModeMsg value A parameter object of type CameraMeteringModeMsg.

Return:

async Task A Task object.

method GetCameraMeteringModeAsync

async Task> GetCameraMeteringModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的测光方式。

Return:

async Task> A Task> object.

method GetSpotMeteringTargetPointAsync

async Task> GetSpotMeteringTargetPointAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取spot计量区域的行索引和列索引。为了使这个方法有效,相机的曝光模式应该是’ PROGRAM ', ’ SHUTTER_PRIORITY ‘或’ APERTURE_PRIORITY ‘,曝光测光模式必须是’ SPOT ‘,而’ GetAELockEnabledAsync '必须是假的。

Return:

async Task> A Task> object.

method SetSpotMeteringTargetPointAsync

async Task SetSpotMeteringTargetPointAsync(IntPoint2D value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置测点区域索引。有效的点从’ GetExposureMeteringPointCountAsync ‘返回。行索引在图像中从上到下递增。列从左到右递增。为了使这个方法有效,相机的曝光模式应该是’ PROGRAM ', ’ SHUTTER_PRIORITY ‘或’ APERTURE_PRIORITY ‘,曝光测光模式必须是’ SPOT ‘,而’ GetAELockEnabledAsync '必须是假的。

Input Parameters:

IntPoint2D value A parameter object of type IntPoint2D.

Return:

async Task A Task object.

method GetPhotoStorageFormatAsync

async Task> GetPhotoStorageFormatAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的照片文件格式。

Return:

async Task> A Task> object.

method SetPhotoStorageFormatAsync

async Task SetPhotoStorageFormatAsync(PhotoStorageFormatMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的照片文件格式。

Input Parameters:

PhotoStorageFormatMsg value A parameter object of type PhotoStorageFormatMsg.

Return:

async Task A Task object.

method GetCameraFocusStateAsync

async Task> GetCameraFocusStateAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的对焦状态。使用它来检查自动聚焦动作是否成功。

Return:

async Task> A Task> object.

method GetWhiteBalanceAsync

async Task> GetWhiteBalanceAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的白平衡和色温。

Return:

async Task> A Task> object.

method SetWhiteBalanceAsync

async Task SetWhiteBalanceAsync(CameraWhiteBalance value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的白平衡。当白平衡是预设值(除“手动”值)时,“int colorTemperature”参数不生效。当白平衡是“手动”时,使用“int色温”值代替。

Input Parameters:

CameraWhiteBalance value A parameter object of type CameraWhiteBalance.

Return:

async Task A Task object.

method GetPhotoIntervalCountdownAsync

async Task> GetPhotoIntervalCountdownAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取正在进行的间隔拍摄的倒计时。当倒计时为0时,相机将拍摄一张照片,然后继续下一个倒计时。它只在相机拍摄间隔照片时有效。

Return:

async Task> A Task> object.

method GetPhotoIntervalShootSettingsAsync

async Task> GetPhotoIntervalShootSettingsAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的间隔拍摄参数。

Return:

async Task> A Task> object.

method SetPhotoIntervalShootSettingsAsync

async Task SetPhotoIntervalShootSettingsAsync(PhotoIntervalShootSettings value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置间隔拍摄参数。相机将捕获一张照片,等待指定的时间间隔,拍摄另一张照片,并继续以这种方式,直到它已拍摄所需数量的照片。

Input Parameters:

PhotoIntervalShootSettings value A parameter object of type PhotoIntervalShootSettings.

Return:

async Task A Task object.

method SetShootPhotoModeAsync

async Task SetShootPhotoModeAsync(CameraShootPhotoModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机的拍照模式。

Input Parameters:

CameraShootPhotoModeMsg value A parameter object of type CameraShootPhotoModeMsg.

Return:

async Task A Task object.

method GetShootPhotoModeAsync

async Task> GetShootPhotoModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的照片拍摄模式。

Return:

async Task> A Task> object.

method StartShootPhotoAsync

async Task StartShootPhotoAsync()
Declaration: DJI.WindowsSDK.Components

Description:

相机开始使用其中一种相机捕获模式(拍摄照片模式)拍照。

先决条件:

\ 1。相机必须在拍摄照片模式。有些相机可能支持录像模式拍摄照片。

\ 2。在使用此方法之前,应该检查SD卡或内部存储状态,以确保存在足够的空间。

职位条件:

如果捕获模式是突发或间隔,调用’ StopShootPhotoAsync '将需要相机停止拍照。

Return:

async Task A Task object.

method StopShootPhotoAsync

async Task StopShootPhotoAsync()
Declaration: DJI.WindowsSDK.Components

Description:

照相机停止拍照。

先决条件:

\ 1。’ StartShootPhotoAsync '已经被调用,拍摄模式是间隔或延时。

\ 2。如果拍摄模式设置为“正常”,相机将自动停止拍照后,个人的照片。

Return:

async Task A Task object.

method FormatStorageAsync

async Task FormatStorageAsync(CameraStorageLocationMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 通过删除存储上的所有数据来格式化存储。

Input Parameters:

CameraStorageLocationMsg value A parameter object of type CameraStorageLocationMsg, which determines the storage to be formatted.

Return:

async Task A Task object.

method GetConnectionAsync

async Task> GetConnectionAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 确定组件是否连接。

Return:

async Task> A Task> object.

method GetSerialNumberAsync

async Task> GetSerialNumberAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取组件的序列号。

Return:

async Task> A Task> object.

method CameraStartContinuousOpticalZoomAsync

async Task CameraStartContinuousOpticalZoomAsync(CameraContinuousOpticalZoomParam value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 开始以指定的速度在指定的方向改变镜头的焦距。当达到最大或最小焦距时,焦距变化(缩放)将停止,或称为stopContinuousOpticalZoomWithCompletion。Osmo上仅支持X5, X5R和X5S摄像头,镜头为Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3摄像头和Z30摄像头。

Input Parameters:

CameraContinuousOpticalZoomParam value A parameter object of type CameraContinuousOpticalZoomParam.

Return:

async Task A Task object.

method CameraStopContinuousOpticalZoomAsync

async Task CameraStopContinuousOpticalZoomAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 当它当前正在调用’ CameraStartContinuousOpticalZoomAsync '时,调用停止焦距变化。Osmo上仅支持X5, X5R和X5S摄像头,镜头为Olympus M.Zuiko ED 14-42mm f/3.5-5.6 EZ, Z3摄像头和Z30摄像头。

Return:

async Task A Task object.

method GetAutoTurnOffLEDModeAsync

async Task> GetAutoTurnOffLEDModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 确定是否启用了led的自动控制。仅支持Mavic Pro, Mavic Air,和Mavic 2系列。

Return:

async Task> A Task> object.

method GetCameraDisplayModeAsync

async Task> GetCameraDisplayModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取显示模式来协调来自视觉摄像机和热感摄像机的视频信号。仅支持XT2摄像头和Mavic 2企业双摄像头。

Return:

async Task> A Task> object.

method GetCameraFileIndexModeAsync

async Task> GetCameraFileIndexModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取相机的文件索引模式。

Return:

async Task> A Task> object.

method GetCameraOpticalZoomFocalLengthAsync

async Task> GetCameraOpticalZoomFocalLengthAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 变焦镜头焦距单位为0.1mm。仅支持X5、X5R、X5S摄像头,镜头为奥林巴斯M.Zuiko ED 14-42mm f/3.5-5.6 EZ、Z3摄像头和Z30摄像头。

Return:

async Task> A Task> object.

method GetCameraOpticalZoomSpecAsync

async Task> GetCameraOpticalZoomSpecAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取变焦镜头轮廓。包括焦距范围和最小焦距步长。支持X5, X5R, X5S,变焦镜头,Z3相机,Z30相机。

Return:

async Task> A Task> object.

method GetCameraOpticalZoomSupportedAsync

async Task> GetCameraOpticalZoomSupportedAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得相机光学变焦支持.

Return:

async Task> A Task> object.

method GetCameraStorageLocationAsync

async Task> GetCameraStorageLocationAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取当前存储位置.

Return:

async Task> A Task> object.

method GetCameraTemperatureUnitAsync

async Task> GetCameraTemperatureUnitAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取当前的温度单位。

Return:

async Task> A Task> object.

method GetCameraThermalDualFeedHorizontalAlignmentOffsetAsync

async Task> GetCameraThermalDualFeedHorizontalAlignmentOffsetAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取来自视觉摄像机和热感摄像机的视频信号之间的水平对准偏移量。对齐应用于MSX显示模式。不同的相机会产生不同的值范围。对于XT2相机,有效范围为[- 100,100]。对于Mavic 2企业对偶,有效范围为[- 40,40]。正值将使热窗向右移动。仅支持XT2相机和Mavic 2企业双。

Return:

async Task> A Task> object.

method GetCameraThermalDualFeedVerticalAlignmentOffsetAsync

async Task> GetCameraThermalDualFeedVerticalAlignmentOffsetAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取来自视觉摄像机和热感摄像机的视频信号之间的垂直对准偏移量。对齐应用于MSX显示模式。不同的相机会产生不同的值范围。对于XT2相机,有效范围为[- 8,8]。对于Mavic 2企业对偶,有效范围为[- 40,40]。正值将使热窗向上移动。仅支持XT2摄像头和Mavic 2企业双摄像头。

Return:

async Task> A Task> object.

method GetCameraThermalFFCModeAsync

async Task> GetCameraThermalFFCModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得平场校正模块。

Return:

async Task> A Task> object.

method GetCameraThermalGainModeAsync

async Task> GetCameraThermalGainModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得增益模式。只支持热成像相机

Return:

async Task> A Task> object.

method GetCameraThermalIsothermEnabledAsync

async Task> GetCameraThermalIsothermEnabledAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 确定是否启用等温线。如果启用等温线,则为。只支持热成像相机。

Return:

async Task> A Task> object.

method GetCameraThermalIsothermLowerValueAsync

async Task> GetCameraThermalIsothermLowerValueAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 得到等温线的较低阈值。只支持热成像相机。

Return:

async Task> A Task> object.

method GetCameraThermalIsothermMiddleValueAsync

async Task> GetCameraThermalIsothermMiddleValueAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取等温线的中间阈值。只支持热成像相机。

Return:

async Task> A Task> object.

method GetCameraThermalIsothermUnitAsync

async Task> GetCameraThermalIsothermUnitAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置等温线范围的单位为摄氏或百分数。不同的单位导致等温线的值范围不同。除Mavic 2 Enterprise双热成像相机外,只支持热成像相机。对于Mavic 2 Enterprise Dual,等温线的单位总是’摄氏度’。

Return:

async Task> A Task> object.

method GetCameraThermalIsothermUpperValueAsync

async Task> GetCameraThermalIsothermUpperValueAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置等温线的上限阈值。所有高于此值的温度值将使用调色板中的224-255颜色。只支持热成像相机。

Return:

async Task> A Task> object.

method GetCameraThermalMeasurementModeAsync

async Task> GetCameraThermalMeasurementModeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取热测量的模式。只支持热成像相机。

Return:

async Task> A Task> object.

method GetCameraThermalPaletteAsync

async Task> GetCameraThermalPaletteAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得相机热调色板.

Return:

async Task> A Task> object.

method GetCameraThermalPaletteRangeAsync

async Task> GetCameraThermalPaletteRangeAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获得相机热调色板的范围

Return:

async Task> A Task> object.

method GetCameraThermalROIAsync

async Task> GetCameraThermalROIAsync()
Declaration: DJI.WindowsSDK.Components

Description:

Gets the Region of Interest.

Return:

async Task> A Task> object.

method GetCameraVideoCaptionEnabledAsync

async Task> GetCameraVideoCaptionEnabledAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取视频标题是否已启用。

Return:

async Task> A Task> object.

method GetCameraWatermarkSettingsAsync

async Task> GetCameraWatermarkSettingsAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取水印设置。如果启用,时间戳和位置戳将添加到新生成的照片或视频中。只有Mavic 2企业系列支持它。对于Mavic 2 Enterprise Dual,水印只应用于由摄像机生成的照片和视频。

Return:

async Task> A Task> object.

method GetHistogramDataAsync

async Task> GetHistogramDataAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 得到直方图数据。

Return:

async Task> A Task> object.

method GetHistogramEnabledAsync

async Task> GetHistogramEnabledAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取柱状图是否已启用。

Return:

async Task> A Task> object.

method GetLockGimbalDuringShootPhotoEnabledAsync

async Task> GetLockGimbalDuringShootPhotoEnabledAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取拍摄照片时万向节是否会锁定。

Return:

async Task> A Task> object.

method GetPhotoBurstCountAsync

async Task> GetPhotoBurstCountAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取照片分页的计数。

Return:

async Task> A Task> object.

method GetVideoStorageFormatAsync

async Task> GetVideoStorageFormatAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取视频存储的格式。

Return:

async Task> A Task> object.

method ResetCameraSettingAsync

async Task ResetCameraSettingAsync()
Declaration: DJI.WindowsSDK.Components

Description:

​ 重置相机设置。

Return:

async Task A Task object.

method SetAutoTurnOffLEDModeAsync

async Task SetAutoTurnOffLEDModeAsync(CameraAutoTurnOffLEDModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 实现led的自动控制。当相机拍摄照片或录制视频时,它可以自动关闭led灯。led会在拍摄或录音结束后打开。仅支持Mavic Pro, Mavic Air,和Mavic 2系列。

Input Parameters:

CameraAutoTurnOffLEDModeMsg value A parameter object of type CameraAutoTurnOffLEDModeMsg.

Return:

async Task A Task object.

method SetCameraDisplayModeAsync

async Task SetCameraDisplayModeAsync(CameraDisplayModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置显示模式以协调来自视觉摄像机和热感摄像机的视频馈送。仅支持XT2摄像头和Mavic 2企业双摄像头。

Input Parameters:

CameraDisplayModeMsg value A parameter object of type CameraDisplayModeMsg.

Return:

async Task A Task object.

method SetCameraFileIndexModeAsync

async Task SetCameraFileIndexModeAsync(CameraFileIndexModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 为SD卡设置相机的文件索引模式。

Input Parameters:

CameraFileIndexModeMsg value A parameter object of type CameraFileIndexModeMsg.

Return:

async Task A Task object.

method SetCameraOpticalZoomFocalLengthAsync

async Task SetCameraOpticalZoomFocalLengthAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置变焦镜头的焦距。仅支持X5、X5R、X5S摄像头配镜头奥林巴斯M.Zuiko ED 14-42mm f/3.5-5.6 EZ, X5S摄像头配松下Lumix 14-42mm/3.5-5.6 HD或奥林巴斯M.Zuiko 9-18mm/4.0-5.6、Z3摄像头和Z30摄像头。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method SetCameraStorageLocationAsync

async Task SetCameraStorageLocationAsync(CameraStorageLocationMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机存储位置。

Input Parameters:

CameraStorageLocationMsg value A parameter object of type CameraStorageLocationMsg.

Return:

async Task A Task object.

method SetCameraTemperatureUnitAsync

async Task SetCameraTemperatureUnitAsync(CameraTemperatureUnitMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置相机温度单元。

Input Parameters:

CameraTemperatureUnitMsg value A parameter object of type CameraTemperatureUnitMsg.

Return:

async Task A Task object.

method SetCameraThermalDualFeedHorizontalAlignmentOffsetAsync

async Task SetCameraThermalDualFeedHorizontalAlignmentOffsetAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置来自视觉摄像机和热感摄像机的视频信号之间的水平对准偏移量。对齐应用于MSX显示模式。不同的相机会产生不同的值范围。对于XT2相机,有效范围为[- 100,100]。对于Mavic 2企业对偶,有效范围为[- 40,40]。正值将使热窗向右移动。使用此设置来微调MSX显示模式和align PIP模式的性能。仅支持XT2相机和Mavic 2企业双。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method SetCameraThermalDualFeedVerticalAlignmentOffsetAsync

async Task SetCameraThermalDualFeedVerticalAlignmentOffsetAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置来自视觉摄像机和热感摄像机的视频信号之间的垂直对准偏移量。对齐应用于MSX显示模式。不同的相机会产生不同的值范围。对于XT2相机,有效范围为[- 8,8]。对于Mavic 2企业对偶,有效范围为[- 40,40]。正值将使热窗向上移动。使用此设置来微调MSX显示模式和align PIP模式的性能。仅支持XT2相机和Mavic 2企业双。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method SetCameraThermalFFCModeAsync

async Task SetCameraThermalFFCModeAsync(CameraThermalFFCModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 获取当前设置的平场校正(FFC)模式。仅支持安装固件版本为1.15.1.60或更高版本的热成像相机。对于Mavic 2 Enterprise双热相机,‘CameraThermalFFCMode’永远是‘AUTO’。

Input Parameters:

CameraThermalFFCModeMsg value A parameter object of type CameraThermalFFCModeMsg.

Return:

async Task A Task object.

method SetCameraThermalGainModeAsync

async Task SetCameraThermalGainModeAsync(CameraThermalGainModeMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置增益模式。只支持热成像相机。

Input Parameters:

CameraThermalGainModeMsg value A parameter object of type CameraThermalGainModeMsg.

Return:

async Task A Task object.

method SetCameraThermalIsothermEnabledAsync

async Task SetCameraThermalIsothermEnabledAsync(BoolMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 启用或禁用等温线。等温线可以用来突出特定的温度范围:当禁用时,所有的256值(8位)都专用于场景的温度直方图。当启用时,只有128个值(0-127)被线性映射到温度。然后三个波段128-175、176-223和224-255可以映射到用户定义的温度,并向用户突出显示它们。使用一些假调色板(如彩虹)的结果热图像是灰色的,除了三个特定的波段突出红色,蓝色或绿色。只支持热成像相机。

Input Parameters:

BoolMsg value A parameter object of type BoolMsg.

Return:

async Task A Task object.

method SetCameraThermalIsothermLowerValueAsync

async Task SetCameraThermalIsothermLowerValueAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 为等温线设置较低的阈值。在调色板中,中间和下面等温线阈值之间的温度值将以128-175的颜色显示。只支持热成像相机。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method SetCameraThermalIsothermMiddleValueAsync

async Task SetCameraThermalIsothermMiddleValueAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置等温线的中间阈值。中间和上等温线阈值之间的温度值将在调色板中以176-223的颜色显示。除了Mavic 2 Enterprise双热成像相机外,只支持热成像相机。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

async Task A Task object.

method SetCameraThermalIsothermUnitAsync

async Task SetCameraThermalIsothermUnitAsync(CameraThermalIsothermUnitMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置等温线范围的单位为摄氏或百分数。不同的单位导致等温线的值范围不同。除Mavic 2 Enterprise双热成像相机外,只支持热成像相机。对于Mavic 2 Enterprise Dual,等温线的单位总是’摄氏度’。

Input Parameters:

CameraThermalIsothermUnitMsg value A parameter object of type CameraThermalIsothermUnitMsg.

Return:

async Task A Task object.

method SetCameraThermalIsothermUpperValueAsync

async Task SetCameraThermalIsothermUpperValueAsync(IntMsg value)
Declaration: DJI.WindowsSDK.Components

Description:

​ 设置等温线的上限阈值。在调色板中,中间和下面等温线阈值之间的温度值将以128-175的颜色显示。只支持热成像相机。

Input Parameters:

IntMsg value A parameter object of type IntMsg.

Return:

|

你可能感兴趣的:(c#)