java.lang.Object | |
↳ | dji.sdk.Camera.DJICameraParameters |
Some of the camera's parameters have dynamic ranges. DJICameraParameters provides the interface to query the valid range is for a parameter.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | DJICameraParameters.DJICameraParametersListener | Notified when the the camera parameters' range changes. | |||||||||
class | DJICameraParameters.VideoResolutionFps | Defines video resolution and frame rate as a type. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | addDJICameraParametersListener(DJICameraParameters.DJICameraParametersListener listener) Adds the listener for the camera range change. | ||||||||||
static DJICameraParameters | getInstance() Gets a DJICameraParameters instance. | ||||||||||
synchronized static void | onDestroy() Release the object. | ||||||||||
void | removeAllListener() Remove all listeners. | ||||||||||
void | removeListener(DJICameraParameters.DJICameraParametersListener listener) Remove listener which is listening to the camera range change. | ||||||||||
CameraAperture[] | supportedCameraApertureRange() Returns the current valid range for camera's aperture (CameraAperture). | ||||||||||
CameraExposureCompensation[] | supportedCameraExposureCompensationRange() Returns the current valid range for camera's exposure compensation (CameraExposureCompensation). | ||||||||||
CameraExposureMode[] | supportedCameraExposureModeRange() Returns the current valid range for camera's exposure mode (CameraExposureMode). | ||||||||||
CameraISO[] | supportedCameraISORange() Returns the current valid range for camera's ISO (CameraISO). | ||||||||||
CameraMode[] | supportedCameraModeRange() Returns the current valid range for camera mode (CameraMode). | ||||||||||
CameraShutterSpeed[] | supportedCameraShutterSpeedRange() Returns the current valid range for camera's shutter speed (CameraShutterSpeed). | ||||||||||
VideoResolutionFps[] | supportedCameraVideoResolutionAndFrameRateRange() Returns the current valid range for video resolution (CameraVideoResolution) and frame rate (CameraVideoFrameRate). |
[Expand] Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Adds the listener for the camera range change.
listener | Camera range change listener. |
---|
Release the object.
Remove all listeners.
Remove listener which is listening to the camera range change.
listener | An object of DJICameraParametersListener. |
---|
Returns the current valid range for camera's aperture (CameraAperture). Returns null if current camera does not support any aperture value or the camera is disconnected.
Returns the current valid range for camera's exposure compensation (CameraExposureCompensation). Returns null if current camera does not support any exposure compensation value or the camera is disconnected.
Returns the current valid range for camera's exposure mode (CameraExposureMode). Returns null if current camera does not support any exposure mode or the camera is disconnected.
Returns the current valid range for camera's ISO (CameraISO). Returns null if current camera does not support any ISO value or the camera is disconnected.
Returns the current valid range for camera mode (CameraMode). Returns null if current camera has no supported camera mode or the camera is disconnected.
Returns the current valid range for camera's shutter speed (CameraShutterSpeed). Returns null if current camera does not support any shutter speed value or the camera is disconnected.
Returns the current valid range for video resolution (CameraVideoResolution) and frame rate (CameraVideoFrameRate). Returns null if current camera does not support any video resolution or frame rate.