Exemplo n.º 1
0
  public static void trackItemViewPair(long itemId) {
    if (preItemId != 0
        && preItemId != itemId
        && preTime > (new Date().getTime() - ITEM_PAIR_INTERVAL_MAX))
      NetworkInter.logItemViewPair(new ItemViewPair(preItemId, itemId, new Date().getTime()));

    preItemId = itemId;
    preTime = new Date().getTime();
  }
Exemplo n.º 2
0
 public static void trackAppShare(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_APP_SHARE, target, value));
 }
Exemplo n.º 3
0
 public static void trackVisit(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_VISIT, target, value));
 }
Exemplo n.º 4
0
 public static void trackLocalPush(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_LOCAL_PUSH, target, value));
 }
Exemplo n.º 5
0
 public static void trackEventPush(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_EVENT_PUSH, target, value));
 }
Exemplo n.º 6
0
 public static void trackCheckIn(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_CHECK_IN, target, value));
 }
Exemplo n.º 7
0
 public static void trackItemScan(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_ITEM_SCAN, target, value));
 }
Exemplo n.º 8
0
 public static void trackItemLike(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_ITEM_LIKE, target, value));
 }
Exemplo n.º 9
0
 public static void trackItemView(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_ITEM_VIEW, target, value));
 }
Exemplo n.º 10
0
 public static void trackShopMap(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_SHOP_MAP, target, value));
 }
Exemplo n.º 11
0
 public static void trackViewStop(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_VIEW_STOP, target, value));
 }
Exemplo n.º 12
0
 public static void trackFirstUser(long target, long value) {
   NetworkInter.log(new Log(Log.CATEGORY_FIRST_USER, target, value));
 }