public class GameCenterManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
GameCenterManager.GameCenterListener |
限定符和类型 | 字段和说明 |
---|---|
static int |
BONUS_DIALOG_TYPE_GAME_CENTER |
构造器和说明 |
---|
GameCenterManager(androidx.fragment.app.FragmentActivity activity,
EntryManager entryManager,
java.lang.String vid,
java.lang.String hostid,
GameCenterManager.GameCenterListener gameCenterListener) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canShowEntryView()
是否允许显示入口
|
GameCenterInfo |
getGameListInfo() |
android.animation.ValueAnimator |
getGiftRotateAnimator(android.widget.ImageView targetView,
int resId)
提示投票的旋转动画,绕Y轴进行旋转180°,在大约旋转一半时替换图片
|
GameCenterInfo |
getShowRecommendInfo()
是否有游戏推荐
|
void |
hideDetailView()
隐藏游戏中心入口
|
void |
initData(java.util.List<GameCenterInfo> list) |
void |
onClickRecommend() |
void |
onDestroy()
activity结束调用
|
static android.util.Pair<java.lang.Integer,java.util.List<GameCenterInfo>> |
onRawResultContent(java.lang.String content) |
static void |
report_kewl_game_channel(int act,
java.lang.String gameName,
java.lang.String gameId,
java.lang.String vid,
java.lang.String broadcastUid) |
void |
showDetailView(java.util.List<ConfigEntry> subFoldList)
打开游戏中心面板
|
void |
startGame(java.lang.String gId,
java.lang.String pId) |
public static final int BONUS_DIALOG_TYPE_GAME_CENTER
public GameCenterManager(androidx.fragment.app.FragmentActivity activity, EntryManager entryManager, java.lang.String vid, java.lang.String hostid, GameCenterManager.GameCenterListener gameCenterListener)
public void initData(java.util.List<GameCenterInfo> list)
public boolean canShowEntryView()
public void showDetailView(java.util.List<ConfigEntry> subFoldList)
public void hideDetailView()
public void onDestroy()
public GameCenterInfo getShowRecommendInfo()
public GameCenterInfo getGameListInfo()
public void onClickRecommend()
public void startGame(java.lang.String gId, java.lang.String pId)
public static android.util.Pair<java.lang.Integer,java.util.List<GameCenterInfo>> onRawResultContent(java.lang.String content)
public static void report_kewl_game_channel(int act, java.lang.String gameName, java.lang.String gameId, java.lang.String vid, java.lang.String broadcastUid)
public android.animation.ValueAnimator getGiftRotateAnimator(android.widget.ImageView targetView, int resId)
targetView
- 要旋转的ViewresId
- 要替换的图片