From cbb88109494ffc7916f6639c20ce05c0cec941a9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 07 四月 2021 15:07:45 +0800
Subject: [PATCH] 3.9.1bug修复

---
 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