public class LeaderBoardUtil
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
REQUEST_TYPE_DEFAULT |
static int |
REQUEST_TYPE_NEW_ROUND |
static int |
REQUEST_TYPE_PK_START |
static int |
REQUEST_TYPE_UPDATE_RANK |
构造器和说明 |
---|
LeaderBoardUtil() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
appendLeaderBoardParams(java.lang.String url,
boolean isZhubo,
boolean isVcall)
拼接H5链接参数
|
static java.lang.String |
getNewStarUrl(com.app.live.activity.VideoDataInfo videoDataInfo,
LeaderBoardInfo leaderBoardInfo)
获取默认的新星榜url地址
|
static void |
requestAnchorLevelOpenBox(java.lang.String vid,
java.lang.String broadcasterUid,
java.lang.String boxId,
com.app.common.common.AsyncActionCallback callback)
请求打开宝箱
|
static void |
requestLeaderBoardInfo(java.lang.String vid,
java.lang.String uid,
com.app.common.common.AsyncActionCallback callback,
java.lang.String httpMsgTag)
获取当前直播间主播排名信息
|
static void |
requestOpenBox(java.lang.String vid,
java.lang.String broadcasterUid,
java.lang.String boxId,
com.app.common.common.AsyncActionCallback callback)
请求打开宝箱
|
public static final int REQUEST_TYPE_DEFAULT
public static final int REQUEST_TYPE_NEW_ROUND
public static final int REQUEST_TYPE_UPDATE_RANK
public static final int REQUEST_TYPE_PK_START
public static void requestLeaderBoardInfo(java.lang.String vid, java.lang.String uid, com.app.common.common.AsyncActionCallback callback, java.lang.String httpMsgTag)
public static void requestOpenBox(java.lang.String vid, java.lang.String broadcasterUid, java.lang.String boxId, com.app.common.common.AsyncActionCallback callback)
public static void requestAnchorLevelOpenBox(java.lang.String vid, java.lang.String broadcasterUid, java.lang.String boxId, com.app.common.common.AsyncActionCallback callback)
public static java.lang.String appendLeaderBoardParams(java.lang.String url, boolean isZhubo, boolean isVcall)
url
- 服务端下发的url地址isZhubo
- 是否是主播isVcall
- 是否在连麦public static java.lang.String getNewStarUrl(com.app.live.activity.VideoDataInfo videoDataInfo, LeaderBoardInfo leaderBoardInfo)
videoDataInfo
- 视频信息leaderBoardInfo
- 榜单信息