DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.BATTERY_STATE
      Description:

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

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull BatteryState batteryState)
      Package:dji.common.remotecontroller
      Description:

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

      Input Parameters:
      @NonNull BatteryState batteryStateCurrent state of the Remote Controller's battery state.