DJI Mobile SDK Documentation

      class DJIFlyingSafetyWarningInformation

      @interface DJIFlyingSafetyWarningInformation : NSObject
      Header:DJIFlyZoneBaseTypes.h
      Inherits From:NSObject
      Description:

      This class contains DJI flying safety warning information related to fly zones. The event indicates the reason. Use description method to get detail information.

      Class Members:
      property
      property event
      @property(nonatomic, readonly) DJIFlySafeWarningEvent event
      Header:DJIFlyZoneBaseTypes.h
      Description:

      Returns the event of DJI flying safety warning.

      See Also:

      DJIFlySafeWarningEvent

      property
      property heightLimit
      @property(nonatomic, readonly) NSInteger heightLimit
      Header:DJIFlyZoneBaseTypes.h
      Description:

      Returns the height limit of current fly zone.

      property flyZoneInformation
      @property(nonatomic, readonly) NSArray <DJIFlyZoneInformation *> *flyZoneInformation
      Header:DJIFlyZoneBaseTypes.h
      Description:

      Returns information about the fly zones.

      See Also:

      DJIFlyZoneInformation

      enum DJIFlySafeWarningEvent
      typedef NS_ENUM(NSUInteger, DJIFlySafeWarningEvent)
      Header:DJIFlyZoneBaseTypes.h
      Description:

      DJI Fly Safe warning events of fly zones.

      Enum Members:
      DJIFlySafeWarningEventTakeoffFailedInNoFlyZoneThe aircraft was unable to take off in the no-fly zone.
      DJIFlySafeWarningEventTakeOffFailedInNoFlyZoneWithoutGpsThe mobile device is in the no-fly zone, and the GPS signal of the aircraft is not good enough to take off.
      DJIFlySafeWarningEventTakeOffFailedWithoutCustomUnlockingCannot take off. You have not applied to fly in this zone.
      DJIFlySafeWarningEventTakeOffFailedInAuthorizedZoneWithoutGpsAndUnlockingThe mobile device is in the authorized area, and the GPS signal of the aircraft is not good, and it cannot take off before unlocking.
      DJIFlySafeWarningEventTakeOffFailedInAuthorizedZoneWithoutUnlockingThe aircraft is not allowed to take off before being unlocked in the authorized area.
      DJIFlySafeWarningEventTakeOffFailedInAuthorizedZoneThe aircraft is in the authorized area and you have obtained a flight certificate.
      DJIFlySafeWarningEventTakeOffInEnhancedWarningZoneThe aircraft is in the enhanced warning zone, please pay attention to flight safety.
      DJIFlySafeWarningEventTakeOffNearNoFlyZoneThere is a no-fly zone nearby and there are flight restrictions.
      DJIFlySafeWarningEventLimitedRestrictionsNearbyThere are limited restrictions in the nearby area.
      DJIFlySafeWarningEventAuthorizedZoneWithoutUnlockingNearbyThere are authorized areas nearby and there are flight restrictions.
      DJIFlySafeWarningEventAuthorizedZoneAndRestrictionsNearbyThere are authorized areas nearby and you have obtained a flight certificate.
      DJIFlySafeWarningEventRestrictionsInLimitedFlyZoneNearbyThere are flight restrictions in the nearby limited flight area.
      DJIFlySafeWarningEventInAuthorizationZoneThe aircraft is in the authorized area and you have obtained a flight certificate.
      DJIFlySafeWarningEventTakeOffFailedInNoFlyZoneWithWeakGpsThe mobile device is in the no-fly zone, and the GPS signal of the aircraft is not good enough to take off.
      DJIFlySafeWarningEventUnknownUnknown.