DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller
      Description:

      Callback interface that updates the gravity calibration's current state data.

      Class Members:

      Callback Method

      Update Calibration State
      method
      method onUpdate
      void onUpdate(GravityCenterState state)
      Package:dji.common.flightcontroller
      Description:

      Callback function that updates the gravity calibration's current state data.

      Input Parameters:
      GravityCenterState stateCurrent state of the gravity calibration.