QRooms
interface com.qlive.sdk.QRooms
房间管理接口
Index
方法
方法
createRoom
- public void createRoom(QCreateRoomParam param,QLiveCallBack callBack)
-
创建房间
Parameters-
param: QCreateRoomParam
创建房间参数
-
callBack: QLiveCallBack
Returns void -
deleteRoom
- public void deleteRoom(String roomID,QLiveCallBack callBack)
-
删除房间
Parameters-
roomID: String
房间ID
-
callBack: QLiveCallBack
Returns void -
getRoomInfo
- public void getRoomInfo(String roomID,QLiveCallBack callBack)
-
根据ID获取房间信息
Parameters-
roomID: String
房间ID
-
callBack: QLiveCallBack
Returns void -
listRoom
- public void listRoom(int pageNumber,int pageSize,QLiveCallBack callBack)
-
房间列表
Parameters-
pageNumber: int
-
pageSize: int
-
callBack: QLiveCallBack
Returns void -
liveRecord
- public void liveRecord(int pageNumber,int pageSize,QLiveCallBack callBack)
-
我的直播记录
Parameters-
pageNumber: int
-
pageSize: int
-
callBack: QLiveCallBack
Returns void -
getLiveStatistics
- public void getLiveStatistics(String roomID,QLiveCallBack callBack)
-
获取直播间数据统计
Parameters-
roomID: String
-
callBack: QLiveCallBack
Returns void -
getGiftConfig
- public void getGiftConfig(int type,QLiveCallBack callback)
-
获取礼物配置
Parameters-
type: int
礼物类型 -1代表全部
-
callback: QLiveCallBack
Returns void -
getLiveGiftStatistics
- public void getLiveGiftStatistics(String roomID,int pageNumber,int pageSize,QLiveCallBack callback)
-
获取直播间礼物统计
Parameters-
roomID: String
-
pageNumber: int
-
pageSize: int
-
callback: QLiveCallBack
Returns void -
getAnchorGiftStatistics
- public void getAnchorGiftStatistics(int pageNumber,int pageSize,QLiveCallBack callback)
-
获取主播礼物统计
Parameters-
pageNumber: int
-
pageSize: int
-
callback: QLiveCallBack
Returns void -
getUserGiftStatistics
- public void getUserGiftStatistics(int pageNumber,int pageSize,QLiveCallBack callback)
-
获取用户礼物统计
Parameters-
pageNumber: int
-
pageSize: int
-
callback: QLiveCallBack
Returns void -
文档反馈
(如有产品使用问题,请 提交工单)