public final enum

DJILandingGearStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.flightcontroller.DJILandingGearStatus

Class Overview

The current state/position of the landing gear. It is only supported by Inspire 1 and Inspire 2.

Summary

Enum Values
DJILandingGearStatus  Deployed  Landing Gear is fully deployed (ready for landing) 
DJILandingGearStatus  Deploying  Landing Gear is deploying (getting ready for landing) 
DJILandingGearStatus  Retracted  Landing Gear is fully retracted (ready for flying) 
DJILandingGearStatus  Retracting  Landing Gear is retracting (getting ready for flying) 
DJILandingGearStatus  Stopped  Landing gear is stopped. 
DJILandingGearStatus  Unknown  Landing Gear is in unknown state. 
Public Methods
boolean _equals(byte b)
Returns the boolean result of comparing the specified integer value with the real value of an enum constant.
static DJILandingGearStatus find(byte b)
Returns the enum constant of this type with the specified integer value.
byte value()
Returns the real value of a enum constant.
static DJILandingGearStatus valueOf(String name)
final static DJILandingGearStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJILandingGearStatus Deployed

Landing Gear is fully deployed (ready for landing)

public static final DJILandingGearStatus Deploying

Landing Gear is deploying (getting ready for landing)

public static final DJILandingGearStatus Retracted

Landing Gear is fully retracted (ready for flying)

public static final DJILandingGearStatus Retracting

Landing Gear is retracting (getting ready for flying)

public static final DJILandingGearStatus Stopped

Landing gear is stopped.

public static final DJILandingGearStatus Unknown

Landing Gear is in unknown state. This will be returned if the aircraft can't get the landing gear status.

Public Methods

public boolean _equals (byte b)

Returns the boolean result of comparing the specified integer value with the real value of an enum constant.

Parameters
b The input integer value.
Returns
  • boolean The comparison result.

public static DJILandingGearStatus find (byte b)

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

Parameters
b The integer value.
Returns
  • DJIFlightControllerLandingGearStatus The enum constant of this type.

public byte value ()

Returns the real value of a enum constant.

Returns
  • integer The real value.

public static DJILandingGearStatus valueOf (String name)

public static final DJILandingGearStatus[] values ()