简体   繁体   English

从customobject获取公共文件URL

[英]Getting public file url from customobject

I have a custom object class with a File type field, after I query the class, I do not get a public url to the file in the field. 我有一个带有File类型字段的自定义对象类,在查询该类之后,我没有在该字段中获得该文件的公共URL。 How can I get the full public url of a File field type from CustomObject class to be loaded in a ListView? 如何从CustomView类中获取要在ListView中加载的File字段类型的完整公共URL? I have an image loading library already by means of Picasso. 我已经通过Picasso获得了一个图像加载库。

Try this one 试试这个吧

https://api.quickblox.com/data/<Class_name>/<record_id>/file?field_name=<field_name>&token=<qb_session_token>

more info here http://quickblox.com/developers/Custom_Objects#Download_file 更多信息请访问http://quickblox.com/developers/Custom_Objects#Download_file

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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