DJI Mobile SDK Documentation

      class ObstacleDataListener

      interface ObstacleDataListener
      Package:dji.v5.manager.aircraft.perception.listener
      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.listener
      Description:

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

      Supported since MSDK 5.1.0

      Input Parameters:
      ObstacleData obstacleDataobstacle data.