public final enum

FlyForbidStatus

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

Class Overview

An enum class contains the fly forbid status.

Summary

Enum Values
FlyForbidStatus  AlreadyInFlightForbidArea  If the aircraft has already been in the Authorization or RestrictionZone, the fly forbid status will be AlreadyInFlightForbidArea. 
FlyForbidStatus  AlreadyInWarningArea  If the aircraft has already been in the Warning or EhancedWarningZone, the fly forbid status will be AlreadyInWarningArea. 
FlyForbidStatus  ApproachingFlyForbidArea  If the aircraft is 200 meters near the authorization zones or restriction zones, the fly forbid status will be ApproachingFlyForbidArea. 
FlyForbidStatus  NoRestriction  Aircraft is not in any zones. 
FlyForbidStatus  Unknown  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 FlyForbidStatus find(int b)
Returns the enum constant of this type with the specified integer value.
int value()
Returns the real value of an enum constant.
static FlyForbidStatus valueOf(String name)
final static FlyForbidStatus[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final FlyForbidStatus AlreadyInFlightForbidArea

If the aircraft has already been in the Authorization or RestrictionZone, the fly forbid status will be AlreadyInFlightForbidArea.

public static final FlyForbidStatus AlreadyInWarningArea

If the aircraft has already been in the Warning or EhancedWarningZone, the fly forbid status will be AlreadyInWarningArea.

public static final FlyForbidStatus ApproachingFlyForbidArea

If the aircraft is 200 meters near the authorization zones or restriction zones, the fly forbid status will be ApproachingFlyForbidArea.

public static final FlyForbidStatus NoRestriction

Aircraft is not in any zones.

public static final FlyForbidStatus Unknown

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 FlyForbidStatus find (int b)

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

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

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static FlyForbidStatus valueOf (String name)

public static final FlyForbidStatus[] values ()