Shared Items represent files and folders on Box accessed via a shared link.
To get the file or folder information for a shared link, you can call
BoxItem.getSharedItem(BoxAPIConnection api, String sharedLink)
with the shared link to get information about the item behind it.
String sharedLink = "https://app.box.com/s/abcdefghijklmnopqrstuvwxyz123456";
BoxItem.Info itemInfo = BoxItem.getSharedItem(api, sharedLink);
If the shared link is password-protected, call
BoxItem.getSharedItem(BoxAPIConnection api, String sharedLink, String password)
with the shared link and password.
String sharedLink = "https://app.box.com/s/abcdefghijklmnopqrstuvwxyz123456";
String password = "foo";
BoxItem.Info itemInfo = BoxItem.getSharedItem(api, sharedLink, password);