public static final enum

DJICameraSettingsDef.CameraLensFocusStatus

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

Class Overview

Supported only by X5 Camera
The focusing status of the camera's lens.

Summary

Enum Values
DJICameraSettingsDef.CameraLensFocusStatus  Failure  The lens fails to fucus on the target. 
DJICameraSettingsDef.CameraLensFocusStatus  Focusing  The lens is focusing to the target. 
DJICameraSettingsDef.CameraLensFocusStatus  Idle  The lens is idle. 
DJICameraSettingsDef.CameraLensFocusStatus  Success  The lens succeeds to fucus on the target. 
DJICameraSettingsDef.CameraLensFocusStatus  Unknown  The lens focus status is unknown. 
Public Methods
boolean _equals(int b)
Compares the input integer value with the real value of an enum value.
static DJICameraSettingsDef.CameraLensFocusStatus 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.CameraLensFocusStatus valueOf(String name)
final static CameraLensFocusStatus[] 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.CameraLensFocusStatus Failure

The lens fails to fucus on the target. It happens when the target is too near or the camera cannot distinguish the object to focus (e.g. a white w wall).

public static final DJICameraSettingsDef.CameraLensFocusStatus Focusing

The lens is focusing to the target.

public static final DJICameraSettingsDef.CameraLensFocusStatus Idle

The lens is idle. No focus target has been set.

public static final DJICameraSettingsDef.CameraLensFocusStatus Success

The lens succeeds to fucus on the target.

public static final DJICameraSettingsDef.CameraLensFocusStatus Unknown

The lens focus status 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.CameraLensFocusStatus find (int value)

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

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

public static final CameraLensFocusStatus[] values ()