简体   繁体   中英

how to get available space in BOX android api?

我试图获得BOX用户的总存储空间和可用存储空间,但我没有在BOX android API上找到任何东西我发现Dropbox可能是Dropbox 的解决方案,但没有找到任何与BOX android api相关的东西。

i found solution using UserManager

Get used space and total space in Mb

client.getUsersManager().getCurrentUser(null).getSpaceUsed() / 1048576
client.getUsersManager().getCurrentUser(null).getSpaceAmount() / 1048576

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM