public class

DJIPlaybackManager.DJICameraPlaybackState

extends Object
java.lang.Object
   ↳ dji.sdk.Camera.DJIPlaybackManager.DJICameraPlaybackState

Class Overview

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.

Summary

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

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. The CameraMediaFileType includes types of JPEG, DNG and Video.
The value of this property is valid when the playbackMode is DJICameraPlaybackModeSingleFilePreview, DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPause.

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.
The value is valid while playbackMode is in DJICameraPlaybackModeMultipleFilesEdit.

public int numberOfThumbnails

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.

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.
The value of the property is valid only when playbackMode is DJICameraPlaybackModeSingleVideoPlaybackStart or DJICameraPlaybackModeSingleVideoPlaybackPaused.

public int videoPlayPosition

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.

public int videoPlayProgress

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.

Public Constructors

public DJICameraPlaybackState ()

Public Methods

public String toString ()

Gets a string containing information about the playback state.

Returns
  • A String of playback state.
See Also