DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.battery
      SDK Key:BatteryKey.AGGREGATION_STATE
      Description:

      This interface provides a callback to update the current aggregated battery state.

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(AggregationState aggregationState)
      Package:dji.common.battery
      SDK Key:BatteryKey.AGGREGATION_STATE
      Description:

      Callback to update aggregated battery state.

      Input Parameters:
      AggregationState aggregationStateThe aggregated battery state.