DJICameraParameters
@interface DJICameraParameters : NSObject
Some of the camera’s parameters have dynamic ranges. The DJICameraParameters interface allows you to query the
valid range for a parameter. Type-casting is required to get the corresponding enumerator value for each
range element.
-
Returns an instance of
DJICameraParametersObjectDeclaration
Objective-C
+ (nonnull instancetype)sharedInstance; -
Returns the current valid range for video resolution (DJICameraVideoResolution) and frame rate (
DJICameraVideoFrameRate). Returns nil if the current camera does not support any video resolution or frame rate setting, or if the camera is disconnected.Declaration
Objective-C
- (nonnull NSArray<NSArray<NSNumber *> *> *) supportedCameraVideoResolutionAndFrameRateRange;Return Value
Array of pairs, each consisting of a valid
DJICameraVideoResolutionvalue andDJICameraVideoFrameRatevalue. -
Returns the current valid range for camera mode (DJICameraMode). Returns nil if current camera has no supported camera mode or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraModeRange;Return Value
Array of NSNumber. Each element represents one current supported camera mode.
-
Returns the current valid range for camera’s exposure mode (DJICameraExposureMode). Returns nil if current camera does not support any exposure mode or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraExposureModeRange;Return Value
Array of NSNumber. Each element represent one current supported exposure mode.
-
Returns the current valid range for camera’s ISO (see DJICameraISO). Returns nil if current camera does not support any ISO value or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraISORange;Return Value
Array of NSNumber. Each element represent one current supported ISO value.
-
Returns the current valid range for camera’s shutter speed (see DJICameraShutterSpeed). Returns nil if current camera does not support any shutter speed value or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraShutterSpeedRange;Return Value
Array of NSNumber. Each element represent one current supported shutter speed value.
-
Returns the current valid range for camera’s exposure compensation (see DJICameraExposureCompensation). Returns nil if current camera does not support any exposure compensation value or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraExposureCompensationRange;Return Value
Array of NSNumber. Each element represent one current supported exposure compensation value.
-
Returns the current valid range for camera’s aperture (see DJICameraAperture). Returns nil if current camera does not support any aperture value or the camera is disconnected.
Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraApertureRange;Return Value
Array of NSNumber. Each element represent one current supported aperture value.
-
Returns the current valid range for camera’s RAW video resolution. Returns
nilif current camera does not support any RAW video resolution or the camera is disconnected.Declaration
Objective-C
- (nonnull NSArray<NSNumber *> *)supportedCameraSSDVideoResolutionRange;Return Value
Array of NSNumber. Each element represent one current supported resolution value.
View on GitHub
DJICameraParameters Class Reference