DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.flightcontroller
      SDK Key:FlightControllerKey.COMPASS_CALIBRATION_STATUS
      Description:

      Updates compass calibration state

      Class Members:
      method
      method onUpdate
      void onUpdate(@NonNull CompassCalibrationState state)
      Package:dji.common.flightcontroller
      SDK Key:FlightControllerKey.COMPASS_CALIBRATION_STATUS
      Description:

      Called when calibration state is updated.

      Input Parameters:
      @NonNull CompassCalibrationState stateThe updated calibration state