DJIFlyZoneInformation

@interface DJIFlyZoneInformation : NSObject

This data structure class contains the geospatial information for the fly zone.

  • The fly zone’s identifier (required in the unlock process).

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSUInteger flyZoneID;
  • The name of the fly zone.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *name;
  • The coordinate of the fly zone’s center.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CLLocationCoordinate2D coordinate;
  • 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.

    Declaration

    Objective-C

    @property (readonly, nonatomic) double radius;
  • 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.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *startTime;
  • 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.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *endTime;
  • 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.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *unlockStartTime;
  • 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.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *unlockEndTime;
  • The type of the fly zone.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIFlyZoneType type;
  • The shape of the fly zone.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIFlyZoneShape shape;
  • The category of the fly zone.

    Declaration

    Objective-C

    @property (readonly, nonatomic) DJIFlyZoneCategory category;