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

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

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -