DJICameraMode
enum DJICameraMode : NSUInteger {}
Camera work modes.
-
Capture mode. In this mode, the user can capture pictures.
Declaration
Objective-C
DJICameraModeShootPhoto = 0
-
Record mode. In this mode, the videos can be recorded. For Phantom 4 Pro, X4S and X5 cameras, still photos can also be taken in this mode, but only while a video is recording.
Declaration
Objective-C
DJICameraModeRecordVideo = 1
-
Playback mode. In this mode, the user can preview photos and videos, and can delete files. It is supported by Phantom 3 Profressional, Phantom 4, X3, X5 and X5R cameras.
Declaration
Objective-C
DJICameraModePlayback = 2
-
In this mode, the user can download media to the Mobile Device. Not supported by X5 camera nor X5R camera while mounted on aircraft.
Declaration
Objective-C
DJICameraModeMediaDownload = 3
-
In this mode, live stream resolution and frame rate will be 1080i50 (PAL) or 720p60 (NTSC). In this mode videos can be recorded. Still photos can also be taken only when video is recording. The only way to exit broadcast mode is to change modes to
DJICameraModeRecordVideo
Only supported by Inspire 2.Declaration
Objective-C
DJICameraModeBroadcast = 4
-
The camera work mode is unknown.
Declaration
Objective-C
DJICameraModeUnknown = 255