public final enum

LBAirLinkUnit

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.airlink.LBAirLinkUnit

Class Overview

OSD data units.

Summary

Enum Values
LBAirLinkUnit  Imperial  Imperial  
LBAirLinkUnit  Metric  Metric  
LBAirLinkUnit  Unknown  Unknown  
Public Methods
boolean _equals(int b)
Compares the specified integer value with the real value of an enum constant.
static LBAirLinkUnit find(int value)
Returns the enum constant of the type for the specified integer value.
int value()
Returns the real value of an enum constant.
static LBAirLinkUnit valueOf(String name)
final static LBAirLinkUnit[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final LBAirLinkUnit Imperial

Imperial

public static final LBAirLinkUnit Metric

Metric

public static final LBAirLinkUnit Unknown

Unknown

Public Methods

public boolean _equals (int b)

Compares the specified integer value with the real value of an enum constant.

Parameters
b The integer value to be compared.
Returns
  • true if the values are equal, false otherwise.

public static LBAirLinkUnit find (int value)

Returns the enum constant of the type for the specified integer value.

Parameters
value The integer value.
Returns
  • The enum constant for this type.

public int value ()

Returns the real value of an enum constant.

Returns
  • The real value.

public static LBAirLinkUnit valueOf (String name)

public static final LBAirLinkUnit[] values ()