| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | dji.common.camera.DJICameraSettingsDef.CameraPhotoAspectRatio | |
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.
| 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
| |||||||||||
The camera's photo ratio is 16 : 9.
The camera's photo ratio is 3 : 2.
The camera's photo ratio is 4 : 3.
The camera's photo ratio is unknown.
Compares the input integer value with the real value of an enum value.
| b | The input integer value. |
|---|
Returns the enum constant of this type with the input integer value.
| value | The input integer value |
|---|
Returns the real value of an enum value.