<小时/> <小时/>
当在“android studio”中使用 DowloadManager
时使用 setDestinationInExternalFilesDir
和 setDestinationInExternalPublicDir
时,我注意到这两种方法有一些奇怪的地方。
ExternalFilesDir
和 ExternalPublicDir
是否引用外部可移动存储器(例如 sdCard)上的某个位置;或者只是设备内存上的内容但不在应用程序的目录中?
不幸的是,我在谷歌开发者网站上搜索了答案,但没有找到正确的答案。
感谢任何帮助。
<小时/> <小时/>最佳答案
根据 Mike M 对这个问题的评论:
In Android parlance, "external" refers to locations that are not in apps' private internal storage. That does not necessarily mean removable storage, ... .
而且它绝对是正确的。
关于java - android Studio下载管理器类中 "External"的确切引用是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59142010/