|
Header: | DJIFlyZoneInformation.h |
Inherits From: | NSObject |
This class contains information about a fly zone. type
should be used to understand the type of fly zone to know which information in this class is valid.
|
Header: | DJIFlyZoneInformation.h |
Returns the type fly zone.
|
Header: | DJIFlyZoneInformation.h |
Returns the fly zone's ID. This is required if unlocking a fly zone.
|
Header: | DJIFlyZoneInformation.h |
The name of the fly zone.
|
Header: | DJIFlyZoneInformation.h |
Returns the reason of the fly zone DJIFlyZoneReason
.
|
Header: | DJIFlyZoneInformation.h |
The coordinate of the fly zone's center. Only used for GEO and NFZ fly zones.
|
Header: | DJIFlyZoneInformation.h |
The radius of the fly zone in meters. If the fly zone is a truncated cone, then the radius is the bottom of the cone. Only used for GEO and NFZ fly zones.
|
Header: | DJIFlyZoneInformation.h |
The shape of the fly zone. This shape is only used for GEO (always cylinder) and NFZ fly zones.
|
Header: | DJIFlyZoneInformation.h |
The category of the fly zone.
|
Header: | DJIFlyZoneInformation.h |
Information about the Sub fly zones. If empty, then the fly zone is a circle fly zone. If populated, this fly zone is a Poly fly zone and the sub fly zone information will take precedence over information in DJIFlyZoneInformation
. DJIFlyZoneInformation
should only be used for fly zone identifying information.
|
Header: | DJIFlyZoneInformation.h |
Disables the unlocked fly zones. This is useful if the aircraft is shared between users. It is not supported by Inspire 1 series or Phantom 3 series. For the other products, it is supported when isCustomUnlockZoneSupported
is YES
.
BOOL enabled | YES to enable the unlocked fly zone. |
DJICompletionBlock completion | completion block to receive the result. |
|
Header: | DJIFlyZoneInformation.h |
YES
if the unlocked fly zone is enabled. It is not supported by Inspire 1 series or Phantom 3 series. For the other products, it is supported when isCustomUnlockZoneSupported
is YES
.
BOOL enabled | YES if the visual stabilization is enabled. |
NSError *_Nullable error | Error retrieving the value. |
void (^_Nonnull)(BOOL enabled, NSError *_Nullable error) completion | Completion block to receive the result. |
|
Header: | DJIFlyZoneInformation.h |
The timestamp of when the flight warning or flight restriction begins, formatted in UTC (YYYY-MM-DD hh:mm:ss). This is used for temporary flight restrictions. When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp
will be returned.
|
Header: | DJIFlyZoneInformation.h |
The timestamp of when the flight warning or flight restriction ends, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp
will be returned.
|
Header: | DJIFlyZoneInformation.h |
The timestamp when the fly zone is unlocked, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp
will be returned.
|
Header: | DJIFlyZoneInformation.h |
The timestamp the unlocked zone expires, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp
will be returned.
|
Header: | DJIFlyZoneInformation.h |
DJI Fly Zone Information Invalid Timestamp.
|
Header: | DJIFlyZoneInformation.h |
There are three types of fly zones, NFZ, GEO and Poly.
DJIFlyZoneTypeCircle | The circle fly zone is a cylinder or truncated cone volume (see shape ) with one of the four restriction levels (see category ). Some restrictions can be unlocked while others cannot. Some fly zones also have a 4km buffer around them where flight height is restricted to 120m. |
DJIFlyZoneTypePoly | The Poly fly zone consists of one or more sub fly zones that are cylinders or complex volumes with different height limitations. A height limitation of 0m means flight is completely restricted. This is used by Mavic, Phantom 4 Pro, Inspire 2 and Phantom 4. |
DJIFlyZoneTypeUnknown | The fly zone is of unknown type. |
|
Header: | DJIFlyZoneInformation.h |
An enum class represents the category of fly zone.
|
Header: | DJIFlyZoneInformation.h |
An enum class contains the reason for the fly zone.
|
Header: | DJIFlyZoneInformation.h |
An enum class containing the shape of the fly zone.
DJIFlyZoneShapeCylinder | Cylinder. |
DJIFlyZoneShapeCone | Truncated cone that has a smaller radius on the ground and larger radius in the air. |
DJIFlyZoneShapeUnknown | Unknown. |