| java.lang.Object | |
| ↳ | dji.common.camera.CameraPhotoTimeLapseParam |
The TimeLapse parameters including interval, duration and file format when saving.
Precondition:
Camera should be in TimeLapse mode of CameraPhotoShootMode.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CameraPhotoTimeLapseParam() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | getDuration() | ||||||||||
| DJICameraSettingsDef.CameraPhotoTimeLapseFileFormat | getFileFormat() | ||||||||||
| int | getInterval() | ||||||||||
| void |
setDuration(int duration)
The time for the whole action.
| ||||||||||
| void |
setFileFormat(DJICameraSettingsDef.CameraPhotoTimeLapseFileFormat fileFormat)
An enum type of the file format to be used.
| ||||||||||
| void |
setInterval(int interval)
The time between image captures.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
The time for the whole action.
| duration | An integer falls in the range, [0, 2^31-1] seconds. If the value is set to be 0, it means that it shoots forever until invoking stopShootPhoto method. |
|---|
An enum type of the file format to be used.
| fileFormat | Please refer to CameraPhotoTimeLapseFileFormat in DJICameraSettingsDef. |
|---|
The time between image captures.
| interval | An integer falls in the range, [10, 1000]. The unit is 100ms. Please note that when the format is JPEG+Video, the minimum interval is 20(2 seconds). |
|---|