class DJICameraPlaybackState
@interface DJICameraPlaybackState : NSObject
Header: DJICameraPlaybackState.h Inherits From: NSObject
Description:
This class provides the current state of the Playback manager, which includes the numbers of thumbnail and media files, video duration, video play progress, and file download state.
Class Members:
property playbackMode
@property (nonatomic , readonly ) DJICameraPlaybackMode playbackMode
Header: DJICameraPlaybackState.h
Description:
The current mode of the Playback manager.
See Also:
DJICameraPlaybackMode
property photoCount
@property (nonatomic , readonly ) int photoCount
Header: DJICameraPlaybackState.h
Description:
The total number of photos on the SD card.
property videoCount
@property (nonatomic , readonly ) int videoCount
Header: DJICameraPlaybackState.h
Description:
The total number of videos on the SD card.
property currentSelectedFileIndex
@property (nonatomic , readonly ) int currentSelectedFileIndex
Header: DJICameraPlaybackState.h
Description:
The index of the current selected file.
property isAllFilesInPageSelected
@property (nonatomic , readonly ) BOOL isAllFilesInPageSelected
Header: DJICameraPlaybackState.h
Description:
YES
if all the files on the current page are selected.
property deletionState
@property (nonatomic , readonly ) DJICameraPlaybackDeletionState deletionState
Header: DJICameraPlaybackState.h
Description:
The current status of a file when the user tries to delete it.
See Also:
DJICameraPlaybackDeletionState
enum DJICameraPlaybackMode
typedef NS_ENUM (uint8_t, DJICameraPlaybackMode)
Header: DJICameraPlaybackState.h
Description:
A playback mode represents a task that the Playback manager is executing.
Enum Members:
DJICameraPlaybackModeSingleFilePreviewSingle file preview mode. DJICameraPlaybackModeSingleVideoPlaybackStartSingle video playback start. DJICameraPlaybackModeSingleVideoPlaybackPauseSingle video playback pause. DJICameraPlaybackModeMultipleFilesEditMultiple file edit. DJICameraPlaybackModeMultipleFilesPreviewMultiple media file preview. DJICameraPlaybackModeDownloadDownload media files. DJICameraPlaybackModeUnknownUnknown playback mode.
enum DJICameraPlaybackDeletionState
typedef NS_ENUM (uint8_t, DJICameraPlaybackDeletionState)
Header: DJICameraPlaybackState.h
Description:
The file deletion status when deleting a file as the camera is in playback mode.
Enum Members:
DJICameraPlaybackDeletionStateNoneCamera is not deleting files. DJICameraPlaybackDeletionStateFailedMedia file delete failed. DJICameraPlaybackDeletionStateDeletingMedia file is deleting. DJICameraPlaybackDeletionStateSuccessfulDelete Media file successfully. DJICameraPlaybackDeletionStateUnknownMedia file unknown delete status.