Some of the camera's parameters have dynamic ranges. The DJICameraCapabilities class 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 the current valid range for camera mode (DJICameraMode). Returns nil if current camera has no supported camera mode or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
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. @return Array of NSNumber. Each element represents one current supported exposure mode.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents 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. @return An NSNumber array. Each element represent one current supported ISO value.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents 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. @return Array of NSNumber. Each element represents one current supported shutter speed value.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported shutter speed 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. @return Array of NSNumber. Each element represents one current supported aperture value.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported aperture 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. @return Array of NSNumber. Each element represents one current supported exposure compensation value.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported exposure compensation value.
Returns the current valid range for camera's AEB (see DJICameraPhotoAEBCount). Returns nil if current camera does not support any AEB value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera AEB capture num range.
Returns the current valid presets for camera's white balance (see DJICameraWhiteBalancePreset). Returns nil if current camera does not support any white balance value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera white balance preset range.
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.
Returns the current valid range for video standard. Returns nil if the current camera does not support any video standard, or if the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported video standard.
Returns the current valid range for camera's RAW video resolution. Returns 'nil' if current camera does not support any RAW video resolution or the camera is disconnected.
Returns the current valid video format range for h1 cameras in raw mode. Returns nil if current camera does not support any value or the camera is disconnected.
Returns the current valid camera photo interval range. Returns nil if current camera does not support any value or the camera is disconnected. Used for DJICameraPhotoTimeIntervalSettings.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera photo interval range.
Returns the photo formats supported by the camera for saving the original images of panorama. The return value is nil if current camera does not support any photo formats or is disconnected.
Returns the current valid range for camera's photo aspect ratio (See DJICameraPhotoAspectRatio). Returns nil if current camera does not support any photo aspect ratio value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported photo aspect ratio value.
Returns the current valid camera picture style custom saturation range. Returns nil if current camera does not support any value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera picture style custom saturation range.
Returns the current valid camera picture style custom sharpness range. Returns nil if current camera does not support any value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera picture style custom sharpness range.
Returns the current valid camera picture style custom contrast range. Returns nil if current camera does not support any value or the camera is disconnected.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported camera picture style custom contrast range.
Returns the long exposure preview time supported by the camera. Returns nil if current camera does not support any value or the camera is disconnected.
Returns the current valid range for thermal camera's palette (see DJICameraThermalPalette). Returns NULL if current thermal camera has not supported palette or the thermal camera is disconnected.
Returns the current valid range for multispectral camera's single-band sensors's (sensors except the RGB one). shutter speed (see DJICameraShutterSpeed). Returns nil if current camera does not support any shutter speed value or the camera is disconnected. Only supported by multispectral camera of P4 Multispectral.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported shutter speed value.
Returns the current valid range for thermal camera's palette (see DJICameraThermalPalette). Returns NULL if current thermal camera has not supported palette or the thermal camera is disconnected.
Returns the current valid range for thermal camera's iso therm unit (see DJICameraThermalIsothermUnit). Returns nil if current thermal camera has not supported iso therm unit or the thermal camera is disconnected.
Returns the current valid range for thermal camera's temperatureUnits (see DJICameraTemperatureUnit). Returns NULL if current thermal camera has not supported temperatureUnits or the thermal camera is disconnected.
Returns the current valid range for multispectral camera's single-band sensors's (sensors except the RGB one). Exposure compensation (see DJICameraExposureCompensation). Returns NULL if current camera does not support any exposure compensation value or the multispectral camera is disconnected. Only supported by multispectral camera of P4 Multispectral.
Return:
nonnull NSArray<NSNumber *> *
Array of NSNumber. Each element represents one current supported exposure compensation value.
Use this key to fetch the exposure compensation supported by the multispectral camera single-band sensors (sensors except the RGB one). Only supported by multispectral camera of P4 Multispectral.
Use this key to fetch the shutter speed supported by the multispectral camera single-band sensors (sensors except the RGB one). Only supported by multispectral camera of P4 Multispectral.