Box android sdk - download converted file
Hey, is there representation related feature also in box-android-sdk ?
I have been looking for some example like this:
https://github.com/box/box-java-sdk/blob/master/doc/files.md#get-file-representations
But for android one:
https://github.com/box/box-android-sdk/blob/master/doc/Files.md
I tried to compose getting representations by myself, but representations returned are always null. So I am looking for some proven sample.
My current approach is to get com.box.androidsdk.content.models.Boxfile and check it's representations -> this is unfortunatelly always null. If there would be non-null representation, I would pass it as parameter to another call com.box.androidsdk.content.BoxApiFile.getDownloadRepresentationRequest and hopefully get proper file in required representation.
Could some point me to some working sample? Or have you any idea, why representations on BoxFile might be null? Or how to get proper representation object for file uploaded in box?
Please sign in to leave a comment.
Comments
0 comments