DJI Mobile SDK Documentation

      class DJICameraVideoResolutionAndFrameRate

      @interface DJICameraVideoResolutionAndFrameRate : NSObject
      Header:DJICameraSettingsDef.h
      Inherits From:NSObject
      SDK Key:DJICameraKey.DJICameraParamVideoResolutionAndFrameRate, DJICameraKey.DJICameraParamSSDVideoResolutionAndFrameRate
      Description:

      This class contains current values for camera parameters related to video resolution and video frame rate.

      Class Members:
      Resolution
      property
      property resolution
      @property (nonatomic, readonly) DJICameraVideoResolution resolution
      Header:DJICameraSettingsDef.h
      Description:

      Returns the camera's current video resolution.

      See Also:

      DJICameraVideoResolution

      Frame Rate
      property
      property frameRate
      @property (nonatomic, readonly) DJICameraVideoFrameRate frameRate
      Header:DJICameraSettingsDef.h
      Description:

      Returns the camera's current video frame rate.

      See Also:

      DJICameraVideoFrameRate

      property
      property fov
      @property (nonatomic, readonly) DJICameraVideoFOV fov
      Header:DJICameraSettingsDef.h
      Description:

      The FOV for recording videos.

      See Also:

      DJICameraVideoFOV

      method initWithResolution:frameRate
      -(instancetype)initWithResolution:(DJICameraVideoResolution)resolution
      frameRate:(DJICameraVideoFrameRate)frameRate
      Header:DJICameraSettingsDef.h
      Description:

      Creates a DJICameraVideoResolutionAndFrameRate instance with a preset camera video resolution and frame rate. The value of fov is DJICameraVideoFOVDefault.

      Input Parameters:
      DJICameraVideoResolution resolutionThe specific resolution.
      DJICameraVideoFrameRate frameRateThe specific frame rate.
      method initWithResolution:frameRate:fov
      -(instancetype)initWithResolution:(DJICameraVideoResolution)resolution
      frameRate:(DJICameraVideoFrameRate)frameRate
      fov:(DJICameraVideoFOV)fov
      Header:DJICameraSettingsDef.h
      Description:

      Creates a DJICameraVideoResolutionAndFrameRate 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 DJICameraVideoResolution3840x2160 (4K). Use DJICameraVideoFOVDefault when FOV is not configurable.

      Input Parameters:
      DJICameraVideoResolution resolutionThe specific resolution.
      DJICameraVideoFrameRate frameRateThe specific frame rate.
      DJICameraVideoFOV fovThe specific FOV.