Hello,
I am quite new to Box API and I am just trying to write my first integration with Box Java SDK. I have followed the tutorial and managed to get a list of root folder files:
BoxFolder folder = BoxFolder.getRootFolder(api);
for (BoxItem.Info itemInfo : folder) {
if (itemInfo instanceof BoxFile.Info) {
BoxFile.Info fileInto = (BoxFile.Info) itemInfo;
// do something with the fileInfo
}
}
When I call fileInfo.getID() or fileInfo.getName(), I get the correct values. However, fileInfo.getSize() or fileInfo.getModifiedAt() always returns null. Am I doing something wrong?
Thanks for any help.
Filip