DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller
      Description:

      This protocol provides an interface to update the Intelligent Flight Assistant current state.

      Class Members:
      method
      method onUpdate
      void onUpdate(@NonNull VisionDetectionState state)
      Package:dji.common.flightcontroller
      Description:

      Callback function that updates the vision detection state. The frequency of this method is 10Hz.

      Input Parameters:
      @NonNull VisionDetectionState stateThe state of vision sensor.