java.lang.Object | |
↳ | dji.common.camera.CameraSystemState |
This class provides general information and current status of the camera.
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
|
Time of current video being recorded by camera in seconds.
true
if there is a camera sensor error.
true
if camera is too hot.
true
if camera is recording video.
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.
true
when camera is performing an interval capture.
Will be true
after startShootPhoto is called, and false
after stopShootPhoto is
called.
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.
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.
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
.
true
if camera is storing a photo.
When isStoringPhoto is true
, user cannot change the camera mode or start to shoot another photo.
This method is deprecated.
No replacement.
true
if the camera is in USB mode.