public class

DJIFlyZoneInformation

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJIFlyZoneInformation

Class Overview

The geospatial information in GEO is categorized in one of the three ways which are Warning Zone, Authorization Zone and Restricted Zone). This data structure class contains the geospatial information for the fly zone.

Summary

Public Constructors
DJIFlyZoneInformation()
Public Methods
FlyZoneCategory getCategory()
Returns the FlyZoneCategory of the fly zone.
String getEndTime()
The timestamp of when the flight warning or flight restriction ends.
int getFlyZoneId()
Returns the fly zone's ID, which the identifier of each fly zone and is required during the unlock process.
FlyZoneType getFlyZoneType()
Returns the FlyZoneType of the fly zone.
double getLatitude()
Returns the latitude of the fly zone's center.
double getLongitude()
Returns the longitude of the fly zone's center.
String getName()
Returns the name of the fly zone.
double getRadius()
The radius of the fly zone in meters.
FlyZoneShape getShape()
Returns the FlyZoneShape of the fly zone.
String getStartTime()
The timestamp of when the flight warning or flight restriction begins.
String getUnlockEndTime()
The timestamp the unlocked zone expires.
String getUnlockStartTime()
The timestamp when the fly zone is unlocked.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DJIFlyZoneInformation ()

Public Methods

public FlyZoneCategory getCategory ()

Returns the FlyZoneCategory of the fly zone.

public String getEndTime ()

The timestamp of when the flight warning or flight restriction ends. It is UTC time in format YYYY-MM-DD hh:mm:ss. When the time is not available from the server, `DJIFlyZoneInformationInvalidTimestamp` will be returned.

public int getFlyZoneId ()

Returns the fly zone's ID, which the identifier of each fly zone and is required during the unlock process.

public FlyZoneType getFlyZoneType ()

Returns the FlyZoneType of the fly zone.

public double getLatitude ()

Returns the latitude of the fly zone's center.

public double getLongitude ()

Returns the longitude of the fly zone's center.

public String getName ()

Returns the name of the fly zone.

public double getRadius ()

The radius of the fly zone in meters. If the fly zone is a truncated cone, then this radius is the bottom of the cone.

public FlyZoneShape getShape ()

Returns the FlyZoneShape of the fly zone.

public String getStartTime ()

The timestamp of when the flight warning or flight restriction begins. This is used for temporary flight restrictions. It is UTC time in format YYYY-MM-DD hh:mm:ss. When the time is not available from the server, `DJIFlyZoneInformationInvalidTimestamp` will be returned.

public String getUnlockEndTime ()

The timestamp the unlocked zone expires. It is UTC time in format YYYY-MM-DD hh:mm:ss. When the fly zone is locked, `DJIFlyZoneInformationInvalidTimestamp` will be returned.

public String getUnlockStartTime ()

The timestamp when the fly zone is unlocked. It is UTC time in format YYYY-MM-DD hh:mm:ss. When the fly zone is locked, `DJIFlyZoneInformationInvalidTimestamp` will be returned.