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
Post a Comment