DJI Mobile SDK Documentation

      class UpgradeComponentChangeListener

      interface UpgradeComponentChangeListener
      Package:dji.sdk.upgrade
      Description:

      This listener provides method to receive the change of detected component which can be upgraded.

      Class Members:

      Callback Method

      method onUpgradeComponentChanged
      void onUpgradeComponentChanged(@NonNull UpgradeComponentType type,
      @NonNull UpgradeComponent component,
      boolean isConnected)
      Package:dji.sdk.upgrade
      Description:

      Called when a dynamic upgrade component is added, or is removed.

      Input Parameters:
      @NonNull UpgradeComponentType typeThe type of the upgrade component.
      @NonNull UpgradeComponent componentThe dynamic upgrade component.
      boolean isConnectedThe connecting state of the component.