net.polyv.live.v1.service.channel.impl
类 LiveChannelViewdataServiceImpl

java.lang.Object
  继承者 net.polyv.live.v1.service.LiveBaseService
      继承者 net.polyv.live.v1.service.channel.impl.LiveChannelViewdataServiceImpl
所有已实现的接口:
ILiveChannelViewdataService

public class LiveChannelViewdataServiceImpl
extends LiveBaseService
implements ILiveChannelViewdataService

直播观看数据实现类


字段摘要
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的字段
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX
 
构造方法摘要
LiveChannelViewdataServiceImpl()
           
 
方法摘要
 LiveChannelViewerConcurrenceResponse getChannelViewerConcurrence(LiveChannelViewerConcurrenceRequest liveChannelViewerConcurrenceRequest)
          查询频道的历史并发人数 API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/gksj/concurrency/
 Integer getMaxChannelHistoryConcurrent(LiveChannelMaxHistoryConcurrentRequest liveChannelMaxHistoryConcurrentRequest)
          获取频道一定时间范围之内的历史最高并发人数,粒度可以支持到分钟 API地址:https://dev.polyv.net/2020/liveproduct/l-api/zbglgn/gksj/get-max-history-concurrent/
 LiveListChannelMicResponse listChannelMic(LiveListChannelMicRequest liveListChannelMicRequest)
          分页获取连麦情况使用详情 API地址:https://dev.polyv.net/2020/liveproduct/l-api/zbglgn/gksj/mic-detail-list/
 LiveListChannelSummaryResponse listChannelSummary(LiveListChannelSummaryRequest liveListChannelSummaryRequest)
          查询多个频道汇总的统计数据 API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/gksj/channel_play_summary/
 LiveListChannelViewerCountResponse listChannelViewerCount(LiveListChannelViewerCountRequest liveListChannelViewerCountRequest)
          查询多个频道的实时在线人数 API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/gksj/get-realtime-viewers/
 LiveListChannelViewlogResponse listChannelViewlog(LiveListChannelViewlogRequest liveChannelViewlogRequest)
          分页查询频道观看日志 1.
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的方法
baseGet, baseGetReturnArray, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFile, baseUploadFileList, baseUploadFileListReturnArray
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LiveChannelViewdataServiceImpl

public LiveChannelViewdataServiceImpl()
方法详细信息

getMaxChannelHistoryConcurrent

public Integer getMaxChannelHistoryConcurrent(LiveChannelMaxHistoryConcurrentRequest liveChannelMaxHistoryConcurrentRequest)
                                       throws IOException,
                                              NoSuchAlgorithmException
获取频道一定时间范围之内的历史最高并发人数,粒度可以支持到分钟 API地址:https://dev.polyv.net/2020/liveproduct/l-api/zbglgn/gksj/get-max-history-concurrent/

指定者:
接口 ILiveChannelViewdataService 中的 getMaxChannelHistoryConcurrent
参数:
liveChannelMaxHistoryConcurrentRequest - 获取频道一定时间范围之内的历史最高并发人数请求实体
返回:
获取频道一定时间范围之内的历史最高并发人数返回实体,返回并发人数,如:100
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

listChannelMic

public LiveListChannelMicResponse listChannelMic(LiveListChannelMicRequest liveListChannelMicRequest)
                                          throws IOException,
                                                 NoSuchAlgorithmException
分页获取连麦情况使用详情 API地址:https://dev.polyv.net/2020/liveproduct/l-api/zbglgn/gksj/mic-detail-list/

指定者:
接口 ILiveChannelViewdataService 中的 listChannelMic
参数:
liveListChannelMicRequest - 分页获取连麦情况使用详情请求实体
返回:
分页获取连麦情况使用详情返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

listChannelViewlog

public LiveListChannelViewlogResponse listChannelViewlog(LiveListChannelViewlogRequest liveChannelViewlogRequest)
                                                  throws IOException,
                                                         NoSuchAlgorithmException
分页查询频道观看日志 1. 如果查询一段时间的记录,可以传:startTime、endTime (startTime和endTime 必须在同一个月),如果查询某天的记录,则传currentDay; 2. startTime、endTime 和 currentDay不能都不传; 3. currentDay与startTime、endTime 同时传将使用currentDay的值。 API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/gksj/viewlog-page/

指定者:
接口 ILiveChannelViewdataService 中的 listChannelViewlog
参数:
liveChannelViewlogRequest - 分页查询频道观看日志请求实体
返回:
分页查询频道观看日志返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

listChannelSummary

public LiveListChannelSummaryResponse listChannelSummary(LiveListChannelSummaryRequest liveListChannelSummaryRequest)
                                                  throws IOException,
                                                         NoSuchAlgorithmException
查询多个频道汇总的统计数据 API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/gksj/channel_play_summary/

指定者:
接口 ILiveChannelViewdataService 中的 listChannelSummary
参数:
liveListChannelSummaryRequest - 查询多个频道汇总的统计数据请求实体
返回:
查询多个频道汇总的统计数据返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

listChannelViewerCount

public LiveListChannelViewerCountResponse listChannelViewerCount(LiveListChannelViewerCountRequest liveListChannelViewerCountRequest)
                                                          throws IOException,
                                                                 NoSuchAlgorithmException
查询多个频道的实时在线人数 API地址:https://dev.polyv.net/2018/liveproduct/l-api/zbglgn/gksj/get-realtime-viewers/

指定者:
接口 ILiveChannelViewdataService 中的 listChannelViewerCount
参数:
liveListChannelViewerCountRequest - 查询多个频道的实时在线人数请求实体
返回:
查询多个频道的实时在线人数返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

getChannelViewerConcurrence

public LiveChannelViewerConcurrenceResponse getChannelViewerConcurrence(LiveChannelViewerConcurrenceRequest liveChannelViewerConcurrenceRequest)
                                                                 throws IOException,
                                                                        NoSuchAlgorithmException
查询频道的历史并发人数 API地址:https://dev.polyv.net/2019/liveproduct/l-api/zbglgn/gksj/concurrency/

指定者:
接口 ILiveChannelViewdataService 中的 getChannelViewerConcurrence
参数:
liveChannelViewerConcurrenceRequest - 查询频道的历史并发人数请求实体
返回:
查询频道的历史并发人数返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常


Copyright © 2020. All Rights Reserved.