DJI Mobile SDK Documentation

      class Callback

      interface Callback
      Package:dji.common.camera
      Description:

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

      Class Members:

      Callback Method

      State
      method
      method onUpdate
      void onUpdate(@NonNull StorageState state)
      Package:dji.common.camera
      Description:

      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.