public static final enum

DJICameraSettingsDef.CameraLensType

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

Class Overview

Supported only by X5 Camera
The enum type camera lens.

Summary

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

Enum Values

public static final DJICameraSettingsDef.CameraLensType AF

The lens supports Auto Focus. For this type, DJI SDK can control the focus point.

public static final DJICameraSettingsDef.CameraLensType MF

The lens supports only Manual Focus. For this type, DJI SDK cannot control the focus point.

public static final DJICameraSettingsDef.CameraLensType Unknown

The lens type 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.CameraLensType find (int value)

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

Parameters
value The input integer value
Returns
  • CameraPhotoTimeLapseFileFormat 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.CameraLensType valueOf (String name)

public static final CameraLensType[] values ()