public class NewGuardManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
NewGuardManager.GuardCallback |
限定符和类型 | 字段和说明 |
---|---|
static int |
FROM_H5 |
static int |
FROM_LIVE_BOTTOM |
static int |
FROM_LIVE_CARD |
static int |
FROM_LIVE_GIFT |
static int |
FROM_LIVE_TOP |
static int |
FROM_RENEW |
构造器和说明 |
---|
NewGuardManager() |
限定符和类型 | 方法和说明 |
---|---|
int |
getGuardianNum() |
GuardFansInfo |
getTopFanInfo() |
void |
queryGuardStar(java.lang.String userId,
java.lang.String vid,
java.lang.String httpMsgTag)
查询守护之星
|
void |
setGuardCallback(NewGuardManager.GuardCallback callback) |
void |
setGuardianNum(int guardianNum) |
void |
setTopFanInfo(GuardFansInfo topFanInfo) |
static int |
showGuardPurchaseDialog(android.app.Activity activity,
java.lang.String anchorId,
java.lang.String anchorName,
java.lang.String videoId,
int from,
boolean chooseSuper,
GuardPurchaseDialog.GuardPurchaseCallback guardPurchaseCallback)
展示购买/续费守护弹框
|
static int |
showGuardPurchaseDialog(android.app.Activity activity,
java.lang.String anchorId,
java.lang.String anchorName,
java.lang.String videoId,
int from,
GuardPurchaseDialog.GuardPurchaseCallback guardPurchaseCallback)
展示购买/续费守护弹框
|
public static final int FROM_LIVE_TOP
public static final int FROM_LIVE_BOTTOM
public static final int FROM_LIVE_CARD
public static final int FROM_LIVE_GIFT
public static final int FROM_RENEW
public static final int FROM_H5
public void queryGuardStar(java.lang.String userId, java.lang.String vid, java.lang.String httpMsgTag)
public int getGuardianNum()
public void setGuardianNum(int guardianNum)
public GuardFansInfo getTopFanInfo()
public void setGuardCallback(NewGuardManager.GuardCallback callback)
public void setTopFanInfo(GuardFansInfo topFanInfo)
public static int showGuardPurchaseDialog(android.app.Activity activity, java.lang.String anchorId, java.lang.String anchorName, java.lang.String videoId, int from, GuardPurchaseDialog.GuardPurchaseCallback guardPurchaseCallback)
activity
- anchorId
- anchorName
- videoId
- from
- guardPurchaseCallback
- public static int showGuardPurchaseDialog(android.app.Activity activity, java.lang.String anchorId, java.lang.String anchorName, java.lang.String videoId, int from, boolean chooseSuper, GuardPurchaseDialog.GuardPurchaseCallback guardPurchaseCallback)
activity
- anchorId
- anchorName
- videoId
- from
- guardPurchaseCallback
-