java - Retrive different thumb dimension from BoxClient [Box.com JavaSDK] -



java - Retrive different thumb dimension from BoxClient [Box.com JavaSDK] -

this code retrive correctly 32x32 thumbnail of file:

boxclient boxclient = getboxclient(); boxthumbnail thumb = boxclient.getfilesmanager().getthumbnail(assetid, "png", null);

but if want 128x128 or 256x256 thumb? cannot found param or method retrive thumb.

is there magic tricks can in order want?

instead of passing null @ end, create boximagerequestobject

boxclient boxclient = getboxclient(); boximagerequestobject requestobject = new boximagerequestobject(); requestobject.setminwidth(255); boxthumbnail thumb = boxclient.getfilesmanager().getthumbnail(assetid, "png", null);

java thumbnails box-api boxapiv2

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -