public class LiveGuardPresenter extends java.lang.Object implements ILiveGuardPresenter
| 限定符和类型 | 字段和说明 |
|---|---|
protected GuardPurchaseDialog.GuardPurchaseCallback |
guardPurchaseCallback |
protected NewGuardManager |
newGuardManager |
| 构造器和说明 |
|---|
LiveGuardPresenter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
boolean |
hasLayer(boolean closeLayer) |
boolean |
initialize(android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
void |
initManager() |
boolean |
invalid() |
void |
onGuardBuffStart(int countdown,
int sleeptime)
开启守护buff
|
void |
onGuardStarChanged(GuardFansInfo guardInfo)
守护之星改变
|
void |
onReceiveGuardBuff(int countdown,
int sleeptime) |
void |
onReceiveGuardStar(GuardStarMsgContent msg) |
void |
release() |
void |
setVisibility(boolean isShow) |
void |
showGuardDialog(int from,
boolean isSuper) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstanceprotected NewGuardManager newGuardManager
protected GuardPurchaseDialog.GuardPurchaseCallback guardPurchaseCallback
public boolean initialize(@NonNull
android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
IViewPresenterinitialize 在接口中 IViewPresenterrootView - 根viewpublic void initManager()
initManager 在接口中 ILiveGuardPresenterpublic void onGuardStarChanged(GuardFansInfo guardInfo)
NewGuardManager.GuardCallbackpublic void onGuardBuffStart(int countdown,
int sleeptime)
NewGuardManager.GuardCallbackpublic void onReceiveGuardBuff(int countdown,
int sleeptime)
public void showGuardDialog(int from,
boolean isSuper)
showGuardDialog 在接口中 ILiveGuardPresenterpublic boolean invalid()
invalid 在接口中 IViewPresenterpublic void release()
release 在接口中 IViewPresenterpublic boolean hasLayer(boolean closeLayer)
hasLayer 在接口中 IViewPresenterpublic void setVisibility(boolean isShow)
setVisibility 在接口中 ILiveGuardPresenterpublic void onReceiveGuardStar(GuardStarMsgContent msg)
onReceiveGuardStar 在接口中 ILiveGuardPresenterpublic void destroy()
destroy 在接口中 IPageLifecycle