DJI Mobile SDK Documentation

      class NewFileInfoCallback

      interface NewFileInfoCallback
      Package:dji.sdk.media
      Description:

      Tells that a new media file (photo or video) is generated.

      Class Members:

      Callback Method

      State
      method
      method onNewFileInfo
      void onNewFileInfo(@NonNull MediaFileInfo mediaFileInfo)
      Package:dji.sdk.media
      Description:

      Return the media file info when a new media file (photo or video) has been generated. Only Supported by Znmuse H20 series.

      Input Parameters:
      @NonNull MediaFileInfo mediaFileInfoThe new media file info.