DJI Mobile SDK Documentation

      class FlySafeSeriousWarningInformation

      class FlySafeSeriousWarningInformation
      Package:dji.common.flysafe.notification
      Description:

      This class contains DJI flying safety serious warning information related to fly zones. The aircraft will land when there is a serious warning. The event indicates the reason. Use description method to get detail information.

      Class Members:
      method
      method getEvent
      FlySafeSeriousWarningEvent getEvent()
      Package:dji.common.flysafe.notification
      Description:

      Returns the event of DJI flying safety serious warning.

      Return:
      FlySafeSeriousWarningEventReturn an enum value of FlySafeSeriousWarningEvent.
      method getHeightLimit
      int getHeightLimit()
      Package:dji.common.flysafe.notification
      Description:

      Returns the height limit of current fly zone.

      Return:
      intReturn an int value of the height limit.
      method getCountdown
      int getCountdown()
      Package:dji.common.flysafe.notification
      Description:

      Returns the countdown to start automatically landing.

      Return:
      intReturn an int value of count down.
      method getFlyZoneInformation
      List<FlyZoneInformation> getFlyZoneInformation()
      Package:dji.common.flysafe.notification
      Description:

      Returns information about the fly zones.

      Return:
      List<FlyZoneInformation>Return the list of FlyZoneInformation objects.
      method getDescription
      String getDescription()
      Package:dji.common.flysafe.notification
      Description:

      Returns the description of fly zone warning information.

      Return:
      StringReturn the String of the description.
      enum FlySafeSeriousWarningEvent
      enum FlySafeSeriousWarningEvent
      Package:dji.common.flysafe.notification
      Description:

      Fly zone serious warning events.

      Enum Members:
      IN_NO_FLY_ZONEThe aircraft is in the no-fly zone. After the countdown is over, it will force an automatic drop. You will not be able to control the throttle, but you can adjust the horizontal direction to avoid obstacles.
      IN_LIMIT_HEIGHT_AREAThe aircraft is in the height limit zone. After the countdown is over, it will automatically drop to the limit height, you will not be able to control the throttle, but you can adjust the horizontal direction to avoid obstacles.
      IN_AUTHORIZATION_ZONE_WITHOUT_UNLOCKINGThe aircraft is in the authorized zone. After the countdown is over, it will automatically drop and you will not be able to control the throttle, but you can adjust the horizontal direction to avoid obstacles.
      IN_UNLOCKED_AUTHORIZATION_ZONEThe aircraft is in the authorized area and you have obtained a flight certificate. After the countdown is over, it will automatically drop and you will not be able to control the throttle, Please confirm the fly limit zone and than open it.
      UNKNOWNUnknown.
      Class Members: