java.lang.Object | |
↳ | dji.common.flightcontroller.DJIFlyZoneInformation |
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.
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
|
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.
Returns the fly zone's ID, which the identifier of each fly zone and is required during the unlock process.
Returns the latitude of the fly zone's center.
Returns the longitude of the fly zone's center.
Returns the name of the fly zone.
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.
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.
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.
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.