DJI Mobile SDK Documentation

      class Callback

      interface Callback

      This interface provides general information and current statuses on the storage.

      Class Members:

      Callback Method

      method onUpdate
      void onUpdate(@NonNull StorageState state)

      Called when the camera's storage state has been updated. Use StorageState's getStorageLocation to determine if the updated state is for SD card or the internal storage.

      Input Parameters:
      @NonNull StorageState stateThe camera storage state. If the camera supports internal storage (e.g. Mavic Air), use getStorageLocation to determine whether the state is for SD card or internal storage.