class ResolutionAndFrameRate
@EXClassNullAway class ResolutionAndFrameRate implements Comparable <ResolutionAndFrameRate >
Package: dji.common.camera
Description:
This class contains current values for camera parameters related to video resolution and video frame rate.
Class Members:
method getResolution
VideoResolution getResolution ()
Package: dji.common.camera
Description:
Returns the camera's current video resolution.
Return:
method getFrameRate
SettingsDefinitions.VideoFrameRate getFrameRate ()
Package: dji.common.camera
Description:
Returns the camera's current video frame rate.
Return:
method getFov
SettingsDefinitions.VideoFov getFov ()
Package: dji.common.camera
Description:
The FOV for recording videos.
Return:
method ResolutionAndFrameRate
ResolutionAndFrameRate(@NonNull VideoResolution resolution, @NonNull VideoFrameRate frameRate)
Package: dji.common.camera
Description:
Creates a DJICameraVideoResolutionAndFrameRate
instance with a preset camera video resolution and frame rate. The value of getFov
is DEFAULT
.
method ResolutionAndFrameRate
ResolutionAndFrameRate(@NonNull VideoResolution resolution, @NonNull VideoFrameRate frameRate, @NonNull SettingsDefinitions.VideoFov fov)
Package: dji.common.camera
Description:
Creates a ResolutionAndFrameRate
instance with a preset camera video resolution, frame rate and FOV. FOV is only configurable for Mavic 2 Pro and it is only configurable when the resolution is RESOLUTION_3840x2160
(4K). Use DEFAULT
when FOV is not configurable.