检索对手的所有 blob(iOS 内容/聊天模块) [英] Retrieving all blobs from opponent (iOS Content/Chat Modules)

查看:41
本文介绍了检索对手的所有 blob(iOS 内容/聊天模块)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能检索对手"上传的所有 blob(不仅仅是对手.blobId)?有没有像 PagedRequest 一样针对 currentUser 的 blob 的解决方案?

How can I retrieve all blobs uploaded by 'opponent' (not just opponent.blobId)? Is there any solution just like PagedRequest for currentUser's blob?

推荐答案

没有基本的方法可以做到这一点,因为所有文件都可以是私有的或类似的东西

There is no base way to do this, because all files can be private or something like this

我建议下一步:使用自定义对象 API http://quickblox.com/developers/Custom_Objects

I propose to do next: use Custom Objects API http://quickblox.com/developers/Custom_Objects

创建UserFilesUserAlbum 表并将您要向用户打开的所有文件(我的意思是blobx ID)写入其中

Create UserFiles or UserAlbum table and write all your files (blobx IDs i mean) to it which you want to open to users

接下来,其他用户将能够检索所有文件 - 只需使用过滤器user_id=

Next, other users will be able to retrieve all files - just get all data from this table using filter user_id=

这篇关于检索对手的所有 blob(iOS 内容/聊天模块)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆