This release includes improvements to token caching for App Users and support for additional API endpoints.
New Features:
- App Users token caching. A token cache can now be specified in BoxDeveloperEditionAPIConnection. This allows for improved performance when using App Users authentication.
- Support for retrieving download URLs. The
BoxFile.getDownloadURL()
method allows for retrieving a direct download URL to a file. - File thumbnails. The
BoxFile.getThumbnail()
method allows for downloading the thumbnail for a file.
Bug Fixes:
- Getting info for a file could crash when there's no preview. Previously, an exception would be thrown if
BoxFile.getInfo(BoxFile.ALL_FIELDS)
was called and the file didn't have a preview available.