DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller
      Description:

      Callback function that updates the flight controller's current state data. This method gets called 10 times per second.

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

      Called when the flight controller's current state data has been updated. This method is called 10 times per second.

      Input Parameters:
      @NonNull FlightControllerState stateCurrent state of the flight controller.