public static final enum

DJICameraSettingsDef.CameraMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.camera.DJICameraSettingsDef.CameraMode

Class Overview

Camera modes.

Summary

Enum Values
DJICameraSettingsDef.CameraMode  Broadcast  In this mode, live stream will be in 1080i50 (PAL) or 720p60 (NTSC). 
DJICameraSettingsDef.CameraMode  MediaDownload  In this mode, the user can download media to the Mobile Device. 
DJICameraSettingsDef.CameraMode  Playback  Not supported by Osmo, Phantom 3 Standard or Phantom 3 4K. 
DJICameraSettingsDef.CameraMode  RecordVideo  Record mode. 
DJICameraSettingsDef.CameraMode  ShootPhoto  Capture mode. 
DJICameraSettingsDef.CameraMode  Unknown  The camera work mode is unknown. 
Public Methods
boolean _equals(int b)
Compares the input integer value with the real value of an enum value.
static DJICameraSettingsDef.CameraMode find(int value)
Returns the enum constant of this type with the input integer value.
int value()
Returns the real value of an enum value.
static DJICameraSettingsDef.CameraMode valueOf(String name)
final static CameraMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJICameraSettingsDef.CameraMode Broadcast

In this mode, live stream will be in 1080i50 (PAL) or 720p60 (NTSC). User can only record video in this mode and shoot photos with single photo mode when the camera is recording a video. To exit the broadcast mode, user need to switch to Record Video mode first. It is supported by Inspire 2.

public static final DJICameraSettingsDef.CameraMode MediaDownload

In this mode, the user can download media to the Mobile Device. Not supported by X5 camera nor X5R camera while mounted on aircraft.

public static final DJICameraSettingsDef.CameraMode Playback

Not supported by Osmo, Phantom 3 Standard or Phantom 3 4K.
Playback mode. In this mode, the user can preview photos and videos, and they can delete files.

public static final DJICameraSettingsDef.CameraMode RecordVideo

Record mode. In this mode, the user can record videos. For Phantom 4 Pro camera, X4S and X5, user can shoot photos with single photo mode when the camera is recording a video.

public static final DJICameraSettingsDef.CameraMode ShootPhoto

Capture mode. In this mode, the user can capture pictures.

public static final DJICameraSettingsDef.CameraMode Unknown

The camera work mode is unknown.

Public Methods

public boolean _equals (int b)

Compares the input integer value with the real value of an enum value.

Parameters
b The input integer value.
Returns
  • boolean The compared result.

public static DJICameraSettingsDef.CameraMode find (int value)

Returns the enum constant of this type with the input integer value.

Parameters
value The input integer value.
Returns
  • The enum constant of this type .

public int value ()

Returns the real value of an enum value.

Returns
  • integer The real value.

public static DJICameraSettingsDef.CameraMode valueOf (String name)

public static final CameraMode[] values ()