public class

CameraSystemState

extends Object
java.lang.Object
   ↳ dji.common.camera.CameraSystemState

Class Overview

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

Summary

Public Constructors
CameraSystemState()
Public Methods
DJICameraSettingsDef.CameraMode getCameraMode()
Current mode of the camera.
int getCurrentVideoRecordingTimeInSeconds()
Time of current video being recorded by camera in seconds.
boolean isCameraError()
true if there is a camera sensor error.
boolean isCameraOverHeated()
true if camera is too hot.
boolean isRecording()
true if camera is recording video.
boolean isShootingBurstPhoto()
true when camera is performing a burst capture.
boolean isShootingIntervalPhoto()
true when camera is performing an interval capture.
boolean isShootingRAWBurstPhoto()
True when the camera is performing a RAW burst capture.
boolean isShootingSinglePhoto()
true when camera is performing any photo capture in any shootPhotoMode.
boolean isShootingSinglePhotoInRAWFormat()
true when the camera is performing a photo capture in RAW or RAW+JPEG format.
boolean isStoringPhoto()
true if camera is storing a photo.
boolean isUSBMode()
This method is deprecated. No replacement.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CameraSystemState ()

Public Methods

public DJICameraSettingsDef.CameraMode getCameraMode ()

Current mode of the camera.

public int getCurrentVideoRecordingTimeInSeconds ()

Time of current video being recorded by camera in seconds.

public boolean isCameraError ()

true if there is a camera sensor error.

public boolean isCameraOverHeated ()

true if camera is too hot.

public boolean isRecording ()

true if camera is recording video.

public boolean isShootingBurstPhoto ()

true when camera is performing a burst capture. Will be true after startShootPhoto is called, and false after burst is complete. The camera is shooting burst photos.

public boolean isShootingIntervalPhoto ()

true when camera is performing an interval capture. Will be true after startShootPhoto is called, and false after stopShootPhoto is called.

public boolean isShootingRAWBurstPhoto ()

True when the camera is performing a RAW burst capture. True after `startShootPhoto` is called, and True after the RAW burst is complete. The camera is shooting RAW burst photos.

public boolean isShootingSinglePhoto ()

true when camera is performing any photo capture in any shootPhotoMode. Between photo capture in interval and time lapse mode, this property will be false. The camera is shooting single photo.

public boolean isShootingSinglePhotoInRAWFormat ()

true 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 false. If saving the photo in JPEG only, this property will always be false.

public boolean isStoringPhoto ()

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

public boolean isUSBMode ()

This method is deprecated.
No replacement.

true if the camera is in USB mode.