DJI Mobile SDK Documentation

      class HardwareStateCallback

      interface HardwareStateCallback
      Package:dji.common.remotecontroller
      Description:

      Callback function that updates the Remote Controller's current hardware state.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull HardwareState hardwareState)
      Package:dji.common.remotecontroller
      Description:

      Callback function that updates the Remote Controller's current hardware state (e.g. the state of the physical buttons and joysticks).

      Input Parameters:
      @NonNull HardwareState hardwareStateCurrent state of the Remote Controller's hardware state.