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 -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -