java.lang.Object | |
↳ | dji.sdk.Camera.DJIPlaybackManager.DJICameraPlaybackState |
This class provides general information and current status of Camera Playback State. Like numbers of thumbnails and media files, video duration, video play progress, file download state, etc.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public int | currentSelectedFileIndex | The index of the current selected file. | |||||||||
public DJICameraSettingsDef.CameraMediaFileDeleteStatus | fileDeletionStatus | The current status of a file when the user tries to delete it. | |||||||||
public boolean | isAllFilesInPageSelected | true if all the files on the current page are selected. | |||||||||
public boolean | isFileDownloaded | true if the file has been downloaded. | |||||||||
public boolean | isSelectedFileValid | true if the selected file is a valid photo or video. | |||||||||
public DJICameraSettingsDef.CameraMediaFileType | mediaFileType | The type of the current file. | |||||||||
public int | numberOfMediaFiles | The total number of media files on the SD card, including photos and videos. | |||||||||
public int | numberOfPhotos | the total number of photos in the SD card. | |||||||||
public int | numberOfSelected | the total number of files selected. | |||||||||
public int | numberOfThumbnails | The total number of thumbnails for both the photos and videos being viewed on the page. | |||||||||
public int | numberOfVideos | The total number of videos in the SD card. | |||||||||
public int | photoHeight | The height of the photo. | |||||||||
public int | photoWidth | The width of the photo. | |||||||||
public DJICameraSettingsDef.CameraPlaybackMode | playbackMode | The current mode of the Playback manager. | |||||||||
public int | videoDuration | The duration in second of the playing video. | |||||||||
public int | videoPlayPosition | The played duration in second of the playing video. | |||||||||
public int | videoPlayProgress | The progress in percentage of the playing video. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJICameraPlaybackState() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | toString() Gets a string containing information about the playback state. |
[Expand] Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
The index of the current selected file.
The current status of a file when the user tries to delete it.
true
if all the files on the current page are selected.
true
if the file has been downloaded.
true
if the selected file is a valid photo or video.
The type of the current file. The CameraMediaFileType includes types of JPEG, DNG and Video.
The value of this property is valid when the playbackMode is DJICameraPlaybackModeSingleFilePreview, DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPause.
The total number of media files on the SD card, including photos and videos.
the total number of photos in the SD card.
the total number of files selected.
The value is valid while playbackMode is in DJICameraPlaybackModeMultipleFilesEdit.
The total number of thumbnails for both the photos and videos being viewed on the page.
The value of the property is valid when the playbackMode is DJICameraPlaybackModeMultipleFilesPreview or DJICameraPlaybackModeMultipleFilesEdit.
The total number of videos in the SD card.
The height of the photo.
The width of the photo.
The current mode of the Playback manager.
The duration in second of the playing video.
The value of the property is valid only when playbackMode is DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPaused.
The played duration in second of the playing video.
The value of the property is valid only when playbackMode is DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPaused. supported when the playbackMode is set to SingleVideoPlaybackStart.
The progress in percentage of the playing video. The valid range is [0, 100].
The value of the property is valid only when playbackMode is DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPaused.
Gets a string containing information about the playback state.