请问拿到MediaFileInfo 里面有个index,如何拿到mediafile呢?我需要实现拍一张就把它上传服务器

Completed

Comments

6 comments

  • DJI Developer Support
    拿到index后通过getSDCardSnapshot获取MediaFileList,直接根据index拿到你要的那张照片。
    0
    Comment actions Permalink
  • evanlee

    咨询下

    refreshFileListOfStorageLocation  这个方法耗时耗性能么 我可能会10来秒调用一次
    因为只有调用了这个 才能有这个值getSDCardSnapshot,
    0
    Comment actions Permalink
  • DJI Developer Support
    10来秒调用一次问题不大。
    0
    Comment actions Permalink
  • evanlee

    好的 感谢

    0
    Comment actions Permalink
  • evanlee

    再问下 ,我在飞行过程中,进行复制照片到手机中,并进行上传 会不会对飞行有影响呢 

    0
    Comment actions Permalink
  • DJI Developer Support
    下载照片的过程中会占用图传通道,下载的时候会没有图传。
    0
    Comment actions Permalink

Please sign in to leave a comment.