DJI Mobile SDK Documentation

      class DJICameraSystemState

      @interface DJICameraSystemState : NSObject
      Header:DJICameraSystemState.h
      Inherits From:NSObject
      Description:

      This class provides general information and current status of the camera.

      Class Members:
      Mode
      property
      property mode
      @property(nonatomic, readonly) DJICameraMode mode
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamMode
      Description:

      The current mode of the camera.

      See Also:

      DJICameraMode

      property isShootingSinglePhoto
      @property(nonatomic, readonly) BOOL isShootingSinglePhoto
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsShootingSinglePhoto
      Description:

      YES when the camera is performing any photo capture in any DJICameraShootPhotoMode. Between photo capture in interval and time lapse mode, this property will be NO. The camera is shooting a single photo.

      property isShootingSinglePhotoInRAWFormat
      @property(nonatomic, readonly) BOOL isShootingSinglePhotoInRAWFormat
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsShootingSinglePhotoInRAWFormat
      Description:

      YES when the camera is performing a photo capture in RAW or RAW+JPEG format. Between photo capture in interval and time lapse mode, this property will be NO. If saving the photo in JPEG only, this property will always be NO.

      property isShootingIntervalPhoto
      @property(nonatomic, readonly) BOOL isShootingIntervalPhoto
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsShootingIntervalPhoto
      Description:

      YES when the camera is performing an interval capture. YES after startShootPhotoWithCompletion is called, and NO after stopShootPhotoWithCompletion is called.

      property isShootingBurstPhoto
      @property(nonatomic, readonly) BOOL isShootingBurstPhoto
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsShootingBurstPhoto
      Description:

      YES when the camera is performing a burst capture. YES after startShootPhotoWithCompletion is called, and NO after the burst is complete. The camera is shooting burst photos.

      property isShootingRAWBurstPhoto
      @property(nonatomic, readonly) BOOL isShootingRAWBurstPhoto
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsShootingRAWBurstPhoto
      Description:

      YES when the camera is performing a RAW burst capture. YES after startShootPhotoWithCompletion is called, and NO after the RAW burst is complete. The camera is shooting RAW burst photos.

      property currentPanoramaPhotoCount
      @property(nonatomic, readonly) NSUInteger currentPanoramaPhotoCount
      Header:DJICameraSystemState.h
      Description:

      The current completed photo count of the executing panorama shot.

      property isShootingShallowFocusPhoto
      @property(nonatomic, readonly) BOOL isShootingShallowFocusPhoto
      Header:DJICameraSystemState.h
      Description:

      YES when the camera is performing a ShallowFocus capture.

      property isShootingPanoramaPhoto
      @property(nonatomic, readonly) BOOL isShootingPanoramaPhoto
      Header:DJICameraSystemState.h
      Description:

      YES when the camera is performing a Panorama capture.

      property isStoringPhoto
      @property(nonatomic, readonly) BOOL isStoringPhoto
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsStoringPhoto
      Description:

      YES if the camera is storing a photo. When isStoringPhoto is YES, the user cannot change the camera mode or start to shoot another photo.

      Panorama
      property
      property panoramaProgress
      @property(nonatomic, readonly, nullable) NSProgress *panoramaProgress
      Header:DJICameraSystemState.h
      Description:

      The progress of the executing panorama shot. It is nil if there is no executing panorama shot.

      Video
      property
      property isRecording
      @property(nonatomic, readonly) BOOL isRecording
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsRecording
      Description:

      YES if the camera is recording video.

      property currentVideoRecordingTimeInSeconds
      @property(nonatomic, readonly) NSUInteger currentVideoRecordingTimeInSeconds
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamCurrentRecordingTimeInSeconds
      Description:

      The duration, in seconds, of the video currently being recorded by the camera.

      Error
      property
      property isOverheating
      @property(nonatomic, readonly) BOOL isOverheating
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamIsOverHeated
      Description:

      YES if the camera is too hot.

      property
      property hasError
      @property(nonatomic, readonly) BOOL hasError
      Header:DJICameraSystemState.h
      SDK Key:DJICameraKey.DJICameraParamHasError
      Description:

      YES if there is a camera sensor error.