public class GoldCardPresenter extends java.lang.Object implements IGoldCardPresenter
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
FIRST_CHARGE
首充触发金币奖励卡
|
static int |
NONE_FIRST_CHARGE
非首充触发金币奖励卡
|
| 构造器和说明 |
|---|
GoldCardPresenter() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
boolean |
hasLayer(boolean closeLayer) |
boolean |
initialize(android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
初始化view
|
boolean |
invalid() |
void |
release() |
void |
show(int flags)
展示金币冻结卡;观众段首充和非首充的金币奖励卡都可以展示,主播端只能展示首充金币奖励卡
|
public static final int FIRST_CHARGE
public static final int NONE_FIRST_CHARGE
public void show(int flags)
IGoldCardPresentershow 在接口中 IGoldCardPresenterflags - 页面可展示的金币奖励卡标签:首充金币奖励卡FIRST_CHARGE、非首充金币奖励卡NONE_FIRST_CHARGEpublic boolean initialize(@NonNull
android.view.View rootView,
ILiveInfoWrapper liveInfoWrapper)
IViewPresenterinitialize 在接口中 IViewPresenterrootView - 根viewpublic boolean invalid()
invalid 在接口中 IViewPresenterpublic void release()
release 在接口中 IViewPresenterpublic boolean hasLayer(boolean closeLayer)
hasLayer 在接口中 IViewPresenterpublic void destroy()
destroy 在接口中 IPageLifecycle