public final enum

FlyZoneCategory

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

Class Overview

An enum class represents the category of fly zone.

Summary

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

Enum Values

public static final FlyZoneCategory Authorization

Authorization zones restrict flight by default, but can be unlocked by a GEO authorized user.

public static final 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.

public static final FlyZoneCategory Restricted

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.

public static final FlyZoneCategory Unknown

Unknown.

public static final FlyZoneCategory Warning

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.

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 FlyZoneCategory 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 FlyZoneCategory valueOf (String name)

public static final FlyZoneCategory[] values ()