public interface WxMaLiveService
直播相关操作接口. Created by yjwang on 2020/4/5.
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
GET_LIVE_INFO |
| 限定符和类型 | 方法和说明 |
|---|---|
WxMaGetLiveInfo |
getLiveInfo(Integer start,
Integer limit)
获取直播房间列表.
|
List<WxMaGetLiveInfo.RoomInfo> |
getLiveinfos()
获取所有直播间信息(没有分页直接获取全部)
|
WxMaGetLiveInfo |
getLiveReplay(Integer room_id,
Integer start,
Integer limit)
获取直播房间回放数据信息.
|
WxMaGetLiveInfo |
getLiveReplay(String action,
Integer room_id,
Integer start,
Integer limit)
获取直播房间回放数据信息.
|
WxMaGetLiveInfo getLiveInfo(Integer start, Integer limit) throws WxErrorException
start - 起始拉取房间,start = 0 表示从第 1 个房间开始拉取limit - 每次拉取的个数上限,不要设置过大,建议 100 以内WxErrorException - .List<WxMaGetLiveInfo.RoomInfo> getLiveinfos() throws WxErrorException
WxErrorExceptionWxMaGetLiveInfo getLiveReplay(String action, Integer room_id, Integer start, Integer limit) throws WxErrorException
action - 获取回放room_id - 直播间 idstart - 起始拉取视频,start = 0 表示从第 1 个视频片段开始拉取limit - 每次拉取的个数上限,不要设置过大,建议 100 以内WxErrorExceptionWxMaGetLiveInfo getLiveReplay(Integer room_id, Integer start, Integer limit) throws WxErrorException
room_id - 直播间 idstart - 起始拉取视频,start = 0 表示从第 1 个视频片段开始拉取limit - 每次拉取的个数上限,不要设置过大,建议 100 以内WxErrorExceptionCopyright © 2020. All rights reserved.