Skip to main content

MainControllerNoflyZoneStatusEnum

enum class MainControllerNoflyZoneStatusEnum

Description: No-fly zone status

enum class MainControllerNoflyZoneStatusEnum(var value: Int) {
/**
* normal flight
*/
FLYING(0),

/**
* Close to restricted fly zone
*/
LIMIT_APPROACHING(1),

/**
* Reached restricted flight area
*/
LIMIT_REACH(2),

/**
* Reached maximum altitude in restricted fly zone
*/
LIMIT_MAXHEIGHT(3),

/**
* Enter the no-fly zone
*/
INSIDE(4),

/**
* Enter the no-fly zone and fly cautiously (you can also fly in the no-fly zone in the United States)
*/
FLY_INSIDE(5),

/**
* Aircraft no-fly status unknown
*/
FLY_STATUS_UNKNOW(0xFF);

}