DJI Mobile SDK Documentation

      class ObstacleDataListener

      interface ObstacleDataListener
      Package:dji.v5.manager.aircraft.perception
      Description:

      The listener of obstacle data.

      Supported since MSDK 5.1.0

      Class Members:
      method
      method onUpdate
      void onUpdate(ObstacleData obstacleData)
      Package:dji.v5.manager.aircraft.perception
      Description:

      When the obsacle data changes, this method will be called back.

      Supported since MSDK 5.1.0

      Input Parameters:
      ObstacleData obstacleDataobstacle data.