java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.FlyZoneCategory |
An enum class represents the category of fly zone.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FlyZoneCategory | Authorization | Authorization zones restrict flight by default, but can be unlocked by a GEO authorized user. | |||||||||
FlyZoneCategory | EnhancedWarning | Enhanced warning zones restrict flight by default, and can be unlocked using `unlockFlyZones` without requiring the user to be logged into their DJI account. | |||||||||
FlyZoneCategory | Restricted | Restricted zones restrict flight by default and cannot be unlocked by a GEO authorized user. | |||||||||
FlyZoneCategory | Unknown | Unknown. | |||||||||
FlyZoneCategory | Warning | Warning zones do not restrict flight and are informational to alert the user. |
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 FlyZoneCategory |
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 FlyZoneCategory | valueOf(String name) | ||||||||||
final static FlyZoneCategory[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Authorization zones restrict flight by default, but can be unlocked by a GEO authorized user.
Enhanced warning zones restrict flight by default, and can be unlocked using `unlockFlyZones` without requiring the user to be logged into their DJI account.
Restricted zones restrict flight by default and cannot be unlocked by a GEO authorized user. Users should contact flysafe@dji.com if they have authorization to fly in a restricted zone.
Warning zones do not restrict flight and are informational to alert the user. In a warning zone, users should be prompted with a warning message describing the zone.
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.