DJI Mobile SDK Documentation

      class MediaFileListDataSource

      class MediaFileListDataSource
      Package:dji.v5.manager.datacenter.media
      Description:

      Media file list data source class, which is used to set the storage location and load location of media file needs to be obtained.

      Supported since MSDK 5.0.0

      Class Members:
      class
      method getStorageLocation
      CameraStorageLocation getStorageLocation()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get the storage location of data source.

      Supported since MSDK 5.0.0

      Return:
      CameraStorageLocationReturn data source of storage location.
      method setStorageLocation
      void setStorageLocation(CameraStorageLocation storageLocation)
      Package:dji.v5.manager.datacenter.media
      Description:

      Set storage location of data source.

      Supported since MSDK 5.0.0

      Input Parameters:
      CameraStorageLocation storageLocationStorage lication of data source.
      method getComponentIndexType
      ComponentIndexType getComponentIndexType()
      Package:dji.v5.manager.datacenter.media
      Description:

      Get location of payload.

      Supported since MSDK 5.0.0

      Return:
      ComponentIndexTypeReturn location of payload.
      method setComponentIndexType
      void setComponentIndexType(ComponentIndexType componentIndexType)
      Package:dji.v5.manager.datacenter.media
      Description:

      Set the payload location of data source.

      Supported since MSDK 5.0.0

      Input Parameters:
      ComponentIndexType componentIndexTypePayload location of data source.