DJI Mobile SDK Documentation

      class FlySafeSeriousWarningInformation

      class FlySafeSeriousWarningInformation
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Fly safety serious warning information. Including the event enumeration and description of fly safety serious warning information, automatic landing countdown, height limit and fly zone information.

      Supported since MSDK 5.3.0

      Class Members:
      method
      method getEvent
      FlySafeSeriousWarningEvent getEvent()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the event of fly safety serious warning.

      Supported since MSDK 5.3.0

      Return:
      FlySafeSeriousWarningEventReturns the event of fly safety serious warning.
      method getDescription
      String getDescription()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the description of fly safety serious warning.

      Supported since MSDK 5.3.0

      Return:
      StringReturns the description of fly safety serious warning.
      method getCountdown
      int getCountdown()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the countdown to start automatically landing. 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.

      Supported since MSDK 5.3.0

      Return:
      intReturns the countdown to start automatically landing.
      method getHeightLimit
      int getHeightLimit()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets the height limit of current fly zone. Returns 0 if not in the height limit zone.

      Supported since MSDK 5.3.0

      Return:
      intReturns the height limit of current fly zone.
      method getFlyZoneInformation
      List<FlyZoneInformation> getFlyZoneInformation()
      Package:dji.v5.manager.aircraft.flysafe.info
      Description:

      Gets information about the fly zones. Returns null if not in a restricted fly zone.

      Supported since MSDK 5.3.0

      Return:
      List<FlyZoneInformation>Returns information about the fly zones.