package com.tejia.lijin.app.util.umengCustomEvent;
|
|
import android.content.Context;
|
|
import com.umeng.analytics.MobclickAgent;
|
|
import java.util.HashMap;
|
import java.util.Map;
|
|
/**
|
* 消息页自定义事件触达
|
*/
|
public class MessageCustomEvent {
|
|
/*
|
* 系统消息点击
|
*/
|
public static void msgItemClick(Context context, String type) {
|
Map<String, Object> map = new HashMap<>();
|
map.put("type", type);
|
MobclickAgent.onEventObject(context, "msg_item_click", map);
|
}
|
|
/*
|
* 猜你喜欢点击商品
|
*/
|
public static void msgGuessLike(Context context) {
|
MobclickAgent.onEvent(context, "msg_guess_like");
|
}
|
|
/*
|
* 去旧版点击
|
*/
|
public static void msgOld(Context context) {
|
MobclickAgent.onEvent(context, "msg_old");
|
}
|
|
/*
|
* 红点清除点击
|
*/
|
public static void msgClearNotify(Context context) {
|
MobclickAgent.onEvent(context, "msg_clear_notify");
|
}
|
|
/*
|
* 其他消息点击
|
*/
|
public static void msgOther(Context context) {
|
MobclickAgent.onEvent(context, "msg_other");
|
}
|
}
|