MSDK 4.15.1 M300机型MediaManager.getSDCardFileListSnapshot(...
Completed 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());
}
}
});
}
}
}
}
});
Please sign in to leave a comment.
Comments
9 comments