DJI Mobile SDK Documentation

      class FlySafeTipInformation

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

      Fly safety tips information. Including the event enumeration and description of fly safety tips information, height limit and fly zone information.

      Supported since MSDK 5.3.0

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

      Gets the event of fly safety tip.

      Supported since MSDK 5.3.0

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

      Gets the description of fly safety tip information.

      Supported since MSDK 5.3.0

      Return:
      StringReturns the description of fly safety tip information.
      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.