java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.camera.DJICameraSettingsDef.CameraLensType |
Supported only by X5 Camera
The enum type camera lens.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJICameraSettingsDef.CameraLensType | AF | The lens supports Auto Focus. | |||||||||
DJICameraSettingsDef.CameraLensType | MF | The lens supports only Manual Focus. | |||||||||
DJICameraSettingsDef.CameraLensType | Unknown | The lens type is unknown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
_equals(int b)
Compares the input integer value with the real value of an enum value.
| ||||||||||
static DJICameraSettingsDef.CameraLensType |
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.CameraLensType | valueOf(String name) | ||||||||||
final static CameraLensType[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The lens supports Auto Focus. For this type, DJI SDK can control the focus point.
The lens supports only Manual Focus. For this type, DJI SDK cannot control the focus point.
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.