How to get thumbnails with box android-content-sdk (notV2)


There is a way to get the thumbnails with new box android-content-sdk? I don't see anything in the doc and methods: <a href="https://github.com/box/box-android-sdk" rel="nofollow">https://github.com/box/box-android-sdk</a>



There are two methods that return a request:

/** * Gets a request that downloads a thumbnail to a target file * * @param target target file to download thumbnail to * @param fileId id of file to download the thumbnail of * @return request to download a thumbnail to a target file * @throws IOException */ public BoxRequestsFile.DownloadThumbnail getDownloadThumbnailRequest(File target, String fileId) throws IOException{ if (!target.exists()){ throw new FileNotFoundException(); } BoxRequestsFile.DownloadThumbnail request = new BoxRequestsFile.DownloadThumbnail(target, getThumbnailFileDownloadUrl(fileId),mSession); return request; } /** * Gets a request that downloads the given file thumbnail to the provided outputStream. Developer is responsible for closing the outputStream provided. * * @param outputStream outputStream to write file contents to. * @param fileId the file id to download. * @return request to download a file thumbnail */ public BoxRequestsFile.DownloadThumbnail getDownloadThumbnailRequest(OutputStream outputStream, String fileId) { BoxRequestsFile.DownloadThumbnail request = new BoxRequestsFile.DownloadThumbnail(outputStream, getThumbnailFileDownloadUrl(fileId),mSession); return request; }


  • How to export specific sheet using new (v3) google drive API
  • How can I get fileID or parentID in python Google-drive APIs ??
  • WP8 Memory leak opening and closing PhoneApplicationPage
  • Upload an embed image?
  • CarrierWave: Single uploader for multiple models?
  • DriveApp conversion from DocX to PDF fails (google apps script)
  • How to use output buffering inside PHPUnit test?
  • Which reference source does include Microsoft.VisualBasic?
  • OSStatus error -50 (invalid parameters) AudioQueueNewInput recording audio on iOS
  • SIP Makefile fail (gnuwin and mingw)
  • What is Closure Compiler?
  • Doctrine2 bulk import try to work with another entity
  • Passing “get” parameters doesn't work, parameter not visible in the link
  • saving file generated by TCPDF
  • Declaring variable dynamically in VB.net
  • Content-Length header not returned from Pylons response
  • Python urlparse: small issue
  • Submit form in a displaytag pagination
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Shallow update not allowed (git > 1.9)
  • Can I make an Android app that runs a web view in Chrome 39?
  • Symfony2: How to get request parameter
  • jquery mobile loadPage not working
  • Alternatives to the OPTIONAL fallback SPARQL pattern?
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • How to delete a row from a dynamic generate table using jquery?
  • How to include full .NET prerequisite for Wix Burn installer
  • json Serialization in asp
  • Rails 2: use form_for to build a form covering multiple objects of the same class
  • log4net write single file for each call to log.info
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Getting error when using KSoap library to consume .NET web services
  • coudnt use logback because of log4j
  • How to stop GridView from loading again when I press back button?
  • Qt: Run a script BEFORE make
  • Django query for large number of relationships
  • Why is Django giving me: 'first_name' is an invalid keyword argument for this function?
  • How can I use `wmic` in a Windows PE script?
  • How to push additional view controllers onto NavigationController but keep the TabBar?