android - How to Create Shared Link of file in box api -


i integrating box-api in android application, can file filepickeractivity in box android api. issue don't know/understand how shared link of file, 1 question know on folder/file smart link enable/disable call in box v2 api , doc ts generic how in android.

any suggestions highly appriciated

try this.

boxsharedlinkrequestobject slo = boxsharedlinkrequestobject.createsharedlinkrequestobject(boxsharedlinkaccess.open); boxfilerequestobject bfro = boxfilerequestobject.createsharedlinkrequestobject(slo); boxclient.getfilesmanager().createsharedlink(fileid, bfro); 

dont forget, need not in ui thread.


Comments