From efa9c4225fe7e89c4acb1eacedd392d79aee240d Mon Sep 17 00:00:00 2001 From: admin <2780501319@qq.com> Date: 星期四, 15 四月 2021 01:59:24 +0800 Subject: [PATCH] 影视豆界面完善 --- BuWanVideo/src/com/weikou/beibeivideo/util/UmengEventUtil.java | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/util/UmengEventUtil.java b/BuWanVideo/src/com/weikou/beibeivideo/util/UmengEventUtil.java index e731d7f..ebc928c 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/util/UmengEventUtil.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/util/UmengEventUtil.java @@ -53,4 +53,44 @@ } + /** + * 鎺ㄨ崘瀵艰埅 + * + * @param context + * @param index + */ + public static void recommendNav(Context context, int index, String name) { + Map<String, Object> params = new HashMap<>(); + params.put("position", "index-" + index); + params.put("name", name); + event(context, "recommend-nav", params); + } + + + public static void recommendVideoClick(Context context, String navName, RecommendClickEventType type, int index) { + Map<String, Object> params = new HashMap<>(); + params.put("position", "index-" + index); + params.put("navName", navName); + params.put("type", type.name()); + event(context, "recommend-video-click", params); + } + + + /** + * PPTV鍏嶅箍鏉冪泭 + * + * @param context + */ + public static void pptvNoAdRewardClick(Context context, String adType) { + Map<String, Object> params = new HashMap<>(); + params.put("adType", adType); + event(context, "pptv-no-ad-reward-click", params); + } + + + //鐐瑰嚮浜嬩欢鍒嗙被 + public static enum RecommendClickEventType { + videoList, banner; + } + } -- Gitblit v1.8.0