DJI Mobile SDK Documentation

      class DJICustomUnlockZone

      @interface DJICustomUnlockZone : NSObject
      Header:DJICustomUnlockZone.h
      Inherits From:NSObject
      Description:

      Users can unlock areas of a restricted fly zone through http://www.dji.com/flysafe/custom-unlock. A user needs to show special authorization (usually from a third party such as a regulatory or managing agency) as part of the process to unlock the area within the restricted fly zone. Therefore each request is unique and customized to the individual. If the request is successful, the unlocked area is tied to the user's account as an Custom Unlock Zone.

      This class contains the properties of an Custom Unlock Zone.

      Class Members:
      property
      property ID
      @property(nonatomic, readonly) NSUInteger ID
      Header:DJICustomUnlockZone.h
      Description:

      The unique ID of the Custom Unlock Zone.

      property
      property name
      @property(nonatomic, readonly) NSString* name
      Header:DJICustomUnlockZone.h
      Description:

      Name of the Custom Unlock Zone.

      property
      property center
      @property(nonatomic, readonly) CLLocationCoordinate2D center
      Header:DJICustomUnlockZone.h
      Description:

      The coordinate of the Custom Unlock Zone's center.

      property
      property radius
      @property(nonatomic, readonly) double radius
      Header:DJICustomUnlockZone.h
      Description:

      The radius of the Custom Unlock Zone in meters.

      property
      property startTime
      @property(nonatomic, readonly) NSString* startTime
      Header:DJICustomUnlockZone.h
      Description:

      The timestamp of when the unlocking begins, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp will be returned.

      property
      property endTime
      @property(nonatomic, readonly) NSString* endTime
      Header:DJICustomUnlockZone.h
      Description:

      The timestamp of when the unlocking ends, formatted in UTC (YYYY-MM-DD hh:mm:ss). When the time is not available from the server, DJIFlyZoneInformationInvalidTimestamp will be returned.

      property
      property isExpired
      @property(nonatomic, readonly) BOOL isExpired
      Header:DJICustomUnlockZone.h
      Description:

      YES if the Custom Unlock Zone has expired. After a zone is expired, the location will be locked.