public static final enum

DJICameraSettingsDef.CameraPhotoAspectRatio

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

Class Overview

Camera's photo ratios, where the first value is the width and the second value is the height. The default value is AspectRatio_4_3.

Summary

Enum Values
DJICameraSettingsDef.CameraPhotoAspectRatio  AspectRatio_16_9  The camera's photo ratio is 16 : 9. 
DJICameraSettingsDef.CameraPhotoAspectRatio  AspectRatio_3_2  The camera's photo ratio is 3 : 2. 
DJICameraSettingsDef.CameraPhotoAspectRatio  AspectRatio_4_3  The camera's photo ratio is 4 : 3. 
DJICameraSettingsDef.CameraPhotoAspectRatio  Unknown  The camera's photo ratio is unknown. 
Public Methods
boolean _equals(int b)
Compares the input integer value with the real value of an enum value.
static DJICameraSettingsDef.CameraPhotoAspectRatio 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.CameraPhotoAspectRatio valueOf(String name)
final static CameraPhotoAspectRatio[] 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.CameraPhotoAspectRatio AspectRatio_16_9

The camera's photo ratio is 16 : 9.

public static final DJICameraSettingsDef.CameraPhotoAspectRatio AspectRatio_3_2

The camera's photo ratio is 3 : 2.

public static final DJICameraSettingsDef.CameraPhotoAspectRatio AspectRatio_4_3

The camera's photo ratio is 4 : 3.

public static final DJICameraSettingsDef.CameraPhotoAspectRatio Unknown

The camera's photo ratio 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.CameraPhotoAspectRatio 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.CameraPhotoAspectRatio valueOf (String name)

public static final CameraPhotoAspectRatio[] values ()