MSDK 4.15.1 M300机型MediaManager.getSDCardFileListSnapshot(...
已完成 MSDK 4.15.1 M300机型MediaManager.getSDCardFileListSnapshot()获取到列表为空,同样的代码sdk 4.15能获取成功,请问是否为sdk bug?
-
我的飞机是单云台版本,相机为H20T,相机固件版本是02.04.01.01,飞机固件版本是02.04.0102,问题必现。调用代码如下:
DJISampleApplication.getProductInstance()
.getCamera().enterPlayback(new CommonCallbacks.CompletionCallback() {
@Override
public void onResult(DJIError djiError) {
if (null == djiError) {
if (ModuleVerificationUtil.isMediaManagerAvailable()) {
if (mediaManager != null) {
mediaManager.refreshFileListOfStorageLocation(SettingsDefinitions.StorageLocation.SDCARD, new CommonCallbacks.CompletionCallback() {
@Override
public void onResult(DJIError djiError) {
if (null == djiError) {
List<MediaFile> djiMedias = mediaManager.getSDCardFileListSnapshot();
Log.d("test","djiMediasList: "+djiMedias.size());
}
}
});
}
}
}
}
});
请先登录再写评论。
评论
9 条评论