DJI Mobile SDK Documentation

      class Callback

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

      Simulator's callback interface. When the SDK receives the SimulatorState, the override method will be called.

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

      Updates the simulator's current state.

      Input Parameters:
      @NonNull SimulatorState stateAn instance of SimulatorState.