java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.FlyForbidStatus |
An enum class contains the fly forbid status.
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
|
If the aircraft has already been in the Authorization or RestrictionZone, the fly forbid status will be AlreadyInFlightForbidArea.
If the aircraft has already been in the Warning or EhancedWarningZone, the fly forbid status will be AlreadyInWarningArea.
If the aircraft is 200 meters near the authorization zones or restriction zones, the fly forbid status will be ApproachingFlyForbidArea.
Returns the boolean result which compare the input integer value with the real value of a enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type with the specified integer value.
b | The integer value. |
---|
Returns the real value of an enum constant.