public final enum

DJIFlightControllerNoFlyStatus

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

Class Overview

This will return the status of the aircraft whether the aircraft is near the no fly zone or not.

Summary

Enum Values
DJIFlightControllerNoFlyStatus  ApproachingNoFlyZone  The aircraft is within 100m of a no fly zone boundary. 
DJIFlightControllerNoFlyStatus  FlyingNormally  The aircraft is normally flying. 
DJIFlightControllerNoFlyStatus  ForceAutoLanding  The aircraft is in a no fly zone, so it is executing a force landing. 
DJIFlightControllerNoFlyStatus  HeightLimited  Some no fly zones have several areas. 
DJIFlightControllerNoFlyStatus  ReachMaxFlyingDistance  The aircraft has reached its max flying distance. 
DJIFlightControllerNoFlyStatus  ReachMaxFlyingHeight  The aircraft has reached its max flying height. 
DJIFlightControllerNoFlyStatus  TakeOffProhibited  The aircraft is in a no fly zone, so take off is prohibited. 
DJIFlightControllerNoFlyStatus  UnderLimitFlyZone  The aircraft is under limit fly zone, which means it's max flying height and distance are limited. 
DJIFlightControllerNoFlyStatus  UnknownStatus  The aircraft's no fly status is unknown. 
Public Methods
boolean _equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
static DJIFlightControllerNoFlyStatus find(int b)
Returns the enum constant of this type with the input integer value.
int value()
Returns the real value of a enum constant.
static DJIFlightControllerNoFlyStatus valueOf(String name)
final static DJIFlightControllerNoFlyStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIFlightControllerNoFlyStatus ApproachingNoFlyZone

The aircraft is within 100m of a no fly zone boundary.

public static final DJIFlightControllerNoFlyStatus FlyingNormally

The aircraft is normally flying.

public static final DJIFlightControllerNoFlyStatus ForceAutoLanding

The aircraft is in a no fly zone, so it is executing a force landing.

public static final DJIFlightControllerNoFlyStatus HeightLimited

Some no fly zones have several areas. A central area where no aircraft can fly or take off in, and then an intermediate area where flight height is restricted. This intermediate area can have a gradually relaxing height restriction as the aircraft moves further from the no fly zone center. If the aircarft is flying in this intermediate area, then the DJIFlightControllerNoFlyStatusHeightLimited enum will be used. Note, the no fly zone state update that alerts if an aircraft is within 100m of a no fly zone, will trigger to the outer most area of a multi-area no fly zone.

public static final DJIFlightControllerNoFlyStatus ReachMaxFlyingDistance

The aircraft has reached its max flying distance.

public static final DJIFlightControllerNoFlyStatus ReachMaxFlyingHeight

The aircraft has reached its max flying height.

public static final DJIFlightControllerNoFlyStatus TakeOffProhibited

The aircraft is in a no fly zone, so take off is prohibited.

public static final DJIFlightControllerNoFlyStatus UnderLimitFlyZone

The aircraft is under limit fly zone, which means it's max flying height and distance are limited. The limit fly zone is a restricted flight zone that the aircraft can not exceed the boundary defined the zone. An example for a limit fly zone can be refer to http://wiki.dji.com/en/index.php/Phantom_3_Professional-_Flight_Limits_and_No-Fly_Zones

public static final DJIFlightControllerNoFlyStatus UnknownStatus

The aircraft's no fly status is unknown.

Public Methods

public boolean _equals (int b)

Returns the boolean result which compare the input integer value with the real value of a enum constant.

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

public static DJIFlightControllerNoFlyStatus find (int b)

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

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

public int value ()

Returns the real value of a enum constant.

Returns
  • integer The real value.

public static DJIFlightControllerNoFlyStatus valueOf (String name)

public static final DJIFlightControllerNoFlyStatus[] values ()