public class PostALGDataUtil
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
PostALGDataUtil.LmBroadcasterData |
构造器和说明 |
---|
PostALGDataUtil() |
限定符和类型 | 方法和说明 |
---|---|
void |
activeDataPost(java.lang.String uid,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo,
int act)
上报
传入的rid和taginfo为空字符串只通过uid去重,act传入不一样了
|
void |
addAndPostImp(java.lang.String rid,
java.lang.String sid,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo)
视频列表项的展现, 添加数据,若超过xx条,就自动上报一下
|
void |
addAndPostImpRecommend(java.lang.String rid,
java.lang.String uid,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo,
int act)
推荐页上报数据
|
void |
addAndPostPush(java.lang.String push_id,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo,
int act) |
void |
addAndPostSwipeData(java.lang.String tagInfo,
int page,
java.lang.String vid,
java.lang.String uid,
int sn,
byte showtype,
short labelid,
java.lang.String labelName,
byte livetype,
byte act)
(数据组统计上报)
这个方法主要是视频封面点击行为上报(对应表名kewl_lm_stream)
添加 用户滑屏行为产生的数据, (卡片的展示,以及点击)
|
void |
addAndPostSwipeData(java.lang.String tagInfo,
int page,
java.lang.String vid,
java.lang.String uid,
int sn,
byte showtype,
short labelid,
java.lang.String labelName,
byte livetype,
byte act,
long levelvb,
int verifyvb)
(数据组统计上报)
添加 用户滑屏行为产生的数据, (卡片的展示,以及点击)
|
void |
addGift(java.lang.String c,
int giftid,
int giftw)
用户送礼行为
|
PostALGDataUtil |
addImpInfo2Post(int scrollState,
androidx.recyclerview.widget.RecyclerView recyclerView,
java.util.List<CardDataBO> data,
java.lang.String taginfo)
列表上直播数据
算法数据上报, 用户滑屏展示items上报
添加过程中含有超多n条自动上报的逻辑
|
PostALGDataUtil |
addImpInfo2Post(java.util.List<com.app.live.activity.VideoDataInfo> liveInScreen,
java.lang.String taginfo)
上报中东区首页游戏固定位
|
PostALGDataUtil |
addImpInfoRecommend(java.util.List<AnchorFriend> liveInScreen,
java.lang.String taginfo)
guide页面推荐用户曝光,复用之前的上报,传入的rid和taginfo为空字符串只通过uid去重
|
PostALGDataUtil |
addImpInfoRecommend(java.lang.String rid,
java.util.List<AnchorFriend> liveInScreen,
java.lang.String taginfo)
上报推荐用户曝光数据
|
PostALGDataUtil |
addImpInfoRecommendClick(java.util.List<AnchorFriend> liveInScreen,
java.lang.String taginfo)
guide页面推荐用户曝光点击,复用之前的曝光上报,
传入的rid和taginfo为空字符串只通过uid去重,act传入不一样了
|
void |
addImpRecommend(java.lang.String rid,
java.lang.String uid,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo,
int act)
推荐页上报数据
|
void |
addStar(java.lang.String c,
int starid,
int startw)
用户送星光行为
|
PostALGDataUtil |
addSwipeData2Post(byte act,
HomePageDataMgr.DataType dataType,
java.lang.String videoType,
int scrollState,
androidx.recyclerview.widget.RecyclerView recyclerView,
java.util.List<CardDataBO> data,
int page,
byte liveType,
java.lang.String taginfo,
boolean isUseNewGetPosition,
short position)
数据组
这个方法主要是视频封面展现上报(对应表名kewl_lm_stream)
收集用户滑动屏幕过程中,列表停止滚动 1s 之后, 屏幕中的卡片信息。
|
PostALGDataUtil |
addSwipeData2Post(byte act,
java.lang.String videoType,
java.util.List<com.app.live.activity.VideoDataInfo> liveInScreen,
int page,
byte liveType,
java.lang.String taginfo)
上报中东区首页游戏固定位
|
void |
dynamicDataPost(java.lang.String rid,
java.lang.String uid,
java.lang.String c,
java.lang.String d,
java.lang.String taginfo,
int act,
boolean atOnce)
动态上报
传入的rid和taginfo为空字符串只通过uid去重,act传入不一样了
|
void |
forceReportData()
强制上报
|
static java.lang.String |
getAllPostStr(java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> list,
int urltype,
java.lang.String taginfo)
得出打包所有收集内容的字符串形式
|
static short |
getLabelId(com.app.live.activity.VideoDataInfo vd)
获取上报的视频封面标签id
|
static java.lang.String |
getLabelName(com.app.live.activity.VideoDataInfo vd)
获取上报的视频封面标签名
|
byte |
getLiveType(com.app.live.activity.VideoDataInfo info,
byte defaultLiveType)
不耗时,也不能耗时
|
static short |
getProfilePosition(java.lang.String type,
int originalPosition)
获取上报的主播信息的卡片位置,保证第一个主播信息卡片的位置是1
目前只有new和nearby使用
|
static short |
getVideoPosition(java.lang.String type,
int originalPosition)
获取上报的视频卡片位置,如果第一个视频前面有banner或其他非视频的item,将位置-1.保证第一个视频的位置是1
|
static void |
post(java.lang.String content,
int urlType)
上报信息
|
void |
postActive(int act,
int scene,
int time) |
void |
postAllData(java.lang.String taginfo)
上报已经收集好的所有信息
|
static void |
postAllDataEvery10Min() |
void |
postBadBroadcase(java.lang.String c,
int badc)
用户在直播间举报播主行为
|
void |
postComment(java.lang.String c,
java.lang.String commitid)
发消息
|
static void |
postFamilyAction(java.lang.String group_id,
java.lang.String group_area,
java.lang.String group_owner_uid,
int group_role,
int action,
int is_top,
int is_receive)
数据组上报 lm_function 表。
|
void |
postFollow(java.lang.String c,
java.lang.String fuid)
用户关注播主行为
|
void |
postJion(java.lang.String c,
java.lang.String d,
java.lang.String rid,
java.lang.String sid,
java.lang.String taginfo)
加入视频
|
void |
postLeave(java.lang.String c,
int dwell)
用户离开直播间行为
|
void |
postLike(java.lang.String c,
int cnt,
boolean isShort)
点赞
|
static void |
postLmFunction(int act)
数据组上报 lm_function 表。
|
void |
postMsg(java.lang.String c,
int msg)
发消息
|
void |
postShare(java.lang.String c,
int sch)
分享
|
void |
postUnFollow(java.lang.String c,
java.lang.String fuid)
用户取关播主行为
|
static void |
reportTmxSessionId(java.lang.String sessionid,
int type)
上报sessionid
|
public static final java.lang.String KEY_PKG
public static final int STOP_SCROLL_TIME
public static final int mUrlBroadcase
public static final int NUM_GIFT
public static final int ACT_RECOMMEND_Click
public static final int GUIDE_ACT_RECOMMEND_Click
public static final int DYNAMIC_FEED_SHOW
public static final int DYNAMIC_DETAILE
public static final int DYNAMIC_LIKES
public static final int DYNAMIC_COMMENTS
public static final int DYNAMIC_SHARE
public static final byte PAGE_DEFAULT
public static final byte PAGE_FEAUTURE
public static final byte PAGE_FOLLOW
public static final byte PAGE_NEW
public static final byte PAGE_NEARBY
public static final byte PAGE_BOY
public static final byte PAGE_GIRLS
public static final byte PAGE_SHORTS
public static final byte PAGE_GAME
public static final byte PAGE_GLOBAL_LIST
public static final byte PAGE_GLOBAL_MORE
public static final byte PAGE_SEARCH
public static final byte PAGE_TALENT
public static final byte PAGE_SHORT_NATIVE
public static final byte PAGE_TOPIC_DETAIL_HOT
public static final byte PAGE_TOPIC_DETAIL_NEW
public static final byte PAGE_HOME_GAME
public static final byte PAGE_NEW_LIVE
public static final byte PAGE_NEW_PROFILE
public static final byte PAGE_NEARBY_LIVE
public static final byte PAGE_NEARBY_PROFILE
public static final byte PAGE_NEARBY_LIVE_NO_LOCATION_PERMISSION
public static final byte PAGE_PLAYGROUND
public static final byte PAGE_RECOMMEND_FOR_YOU
public static final byte PAGE_SOCIAL_NAVIGATOR_SOCIAL_SUB_MULTI_BEAM
public static final byte PAGE_ACT_MULTI_BEAM
public static final byte PAGE_SOCIAL_NAVIGATOR_MULTI_BEAM
public static final byte PAGE_SOCIAL_NAVIGATOR_SOCIAL_SUB_PK
public static final byte PAGE_ACT_PK
public static final byte PAGE_SOCIAL_NAVIGATOR_PK
public static final byte PAGE_WORLD_TOP_STAR
public static final byte PAGE_WORLD_AROUND
public static final byte PAGE_HOME_TAB_GIRL
public static final byte PAGE_KINGDOW_ACTIVITY_CENTER
public static final byte PAGE_FEAUTURE_GAME
public static final byte PAGE_FEAUTURE_CHECK_IN
public static final byte PAGE_AUDIO_LIST
public static final byte PAGE_WATCH_LIVE_END
public static final byte PAGE_IM_WATCH_LIVE_END
public static final byte PAGE_UP_LIVE_END
public static final int PAGE_RECENTLY
public static final int PAGE_SAY_HI
public static final int PAGE_FOR_YOU
public static final byte LIVE_TYPE_DEFAULT
public static final byte LIVE_TYPE_ONLINELIVE
public static final byte LIVE_TYPE_SHORT
public static final byte LIVE_TYPE_YUNYING
public static final byte LIVE_TYPE_REPLAY
public static final byte LIVE_TYPE_GAME
public static final byte LIVE_TYPE_GUEST
public static final int FROM_ME_ACADEMY
public static final int FROM_ME_INVITECODE
public static final int FROM_ME_FEEDBACK
public static final int FROM_ME_PLAYGROUND
public static final int FROM_ME_GOLDRUSH
public static final int FROM_ME_MOMENT
public static final int FROM_ME_GAME
public static final int FROM_PREPARE_NORMAL
public static final int FROM_PREPARE_GAME
public static final int FROM_PREPARE_PAY
public static final int FROM_PREPARE_GROUP
public static final int FROM_PREPARE_AUDIO
public static final int FROM_DEATIL_BORAD_APPEL
public static final int FROM_FOLLOW_HEAD
public static final int FROM_FOLLOW_FEED
public static final int GLOBAL_ARROW
public static final int LIVE_NEW_STAR
public static final int LIVE_HOST_HEAD
public static final int LIVE_INVITE
public static final int LIVE_ANGEL
public static final int LIVE_AUDIENCE_HEAD
public static final int LIVE_END
public static final int LIVE_DIAMOND
public static final int LIVE_STAR
public static final int LIVE_ACTIVITY
public static final int LIVE_MSG_LINE
public static final int LIVE_EXTENDED
public static final int LIVE_LIVING_MODE
public static final int LIVE_GAME
public static final int LIVE_TREASUREBOX
public static final int LIVE_STICKER
public static final int LIVE_SHARE
public static final int LIVE_PK
public static final int LIVE_FEATURE_CARD
public static final int LIVE_UPLIVE_WHISPER
public static final int LIVE_UPLIVE_BOOST
public static final int LIVE_UPLIVE_NEW_HOST_MUSIC_GUIDE
public static final int LIVE_UPLIVE_NEW_HOST_MUSIC_GUIDE_ONCLICK
public static final int LIVE_UPLIVE_NEW_HOST_NEW_CLOSE_DIALOG_SHOW
public static final int LIVE_UPLIVE_NEW_HOST_NEW_CLOSE_DIALOG_MATCH
public static final int LIVE_UPLIVE_NEW_HOST_NEW_CLOSE_DIALOG_CLOSE
public static final int LIVE_UPLOAD_BACK_FRA_SHOW
public static final int LIVE_UPLOAD_BACK_FRA_ADD
public static final int LIVE_UPLOAD_BACK_FRA_CLOSE
public static final int OPEN_API_DIALOG_OK
public static final int OPEN_API_DIALOG_CANCEL
public static final int OPEN_API_DIALOG_CLOSE
public static final int OPEN_API_DIALOG_DETAIL
public static final int OPEN_API_SETTING_OPEN
public static final int OPEN_API_SETTING_CLOSE
public static final int LIVE_EXTENDED_BULLETIN
public static final int LIVE_EXTENDED_RECORD
public static final int LIVE_EXTENDED_BEAUTY
public static final int LIVE_EXTENDED_SWITCH
public static final int LIVE_EXTENDED_CHAT
public static final int LIVE_EXTENDED_MUTE
public static final int LIVE_EXTENDED_MIRROR_ON
public static final int LIVE_EXTENDED_MIRROR_OFF
public static final int LIVE_EXTENDED_MANGER
public static final int LIVE_MODE_NORMAL
public static final int LIVE_MODE_UNION
public static final int LIVE_MODE_SEVEN
public static final int LIVE_GAME_PK
public static final int LIVE_GAME_GUESS
public static final int LIVE_GAME_EAT
public static final int LIVE_GAME_POLL
public static final int LIVE_BONUS_LUCKY
public static final int LIVE_BONUS_TASK
public static final int LIVE_BONUS_RECHARGE
public static final int LIVE_DAILY_TASK_CLICK
public static final int LIVE_DAILY_TASK_SHOW
public static final int SETTING_ACCOUNT_SAFETY
public static final int LIVE_RANK_BOX
public static final int LIVE_END_DIALOG_CONTINUE_TOP_10
public static final int LIVE_END_DIALOG_FINISHED_TOP_10
public static final int LIVE_END_DIALOG_CONTINUE
public static final int LIVE_END_DIALOG_FINISHED
public static final int LIVE_ANCHOR_2_DIALOG_SHOW
public static final int LIVE_ANCHOR_2_DIALOG_CLICK
public static final int LIVE_GUILD_CLICK
public static final int LIVE_GUILD_MANAGER_CLICK
public static final int LIVE_GUILD_JOIN_CLICK
public static final int WATCH_AUDIENCE_FLOD
public static final int WATCH_HOST_HEAD
public static final int WATCH_HOST_HEAD_FOLLOW
public static final int WATCH_ANGEL
public static final int WATCH_AUDIENCE_HEAD
public static final int WATCH_END
public static final int WATCH_DIAMOND
public static final int WATCH_STAR
public static final int WATCH_ACTIVITY
public static final int WATCH_FREE
public static final int WATCH_TREASUREBOX
public static final int WATCH_MSG_LINE
public static final int WATCH_INPUT
public static final int WATCH_MSG
public static final int WATCH_RECORD
public static final int WATCH_VCALL
public static final int WATCH_SHARE
public static final int WATCH_GIFT
public static final int WATCH_STAR_TASK
public static final int WATCH_TURN_PLATE
public static final int WATCH_NEW_USER_LEVEL_2_SHOW
public static final int WATCH_NEW_USER_LEVEL_2_CHECK
public static final int WATCH_MSG_WHISPER
public static final int WATCH_MSG_HELLO
public static final int WATCH_MSG_WHISPER_CLICK
public static final int WATCH_MSG_HELLO_CLICK
public static final int OTHER_PAGE_SHARE
public static final int LM_FUNCTION_HOME_NEW_LIVE
public static final int LM_FUNCTION_HOME_NEW_PROFILE
public static final int LM_FUNCTION_HOME_NEARBY_LIVE
public static final int LM_FUNCTION_HOME_NEARBY_PROFILE
public static final int FAMILY_BADGE_ACNHOR
public static final int FAMILY_BADGE_ACNHOR_DIALOG
public static final int FROM_PREPARE_AUDIO_CHANGE_TITLE
public static final int FROM_LIVE_AUDIO_AUDIENCE_LIST
public static final int FROM_LIVE_AUDIO_GAME
public static final int FROM_LIVE_AUDIO_EMOJI
public static final int FROM_LIVE_AUDIO_CHAT
public static final int FROM_LIVE_AUDIO_FOLD
public static final int FROM_LIVE_AUDIO_GIFT_LIST
public static final int DRAWING_GUESS_GAME_ICON
public static final int DRAWING_GUESS_GUIDE_DIALOG_DISMISS
public static final int DRAWING_GUESS_GUIDE_DIALOG_PLAY
public static final int ANCHOR_DIALOG_REPORT
public static final int ANCHOR_DIALOG_CLOSE
public static final int ANCHOR_DIALOG_AVATAR
public static final int ANCHOR_DIALOG_GUARD
public static final int ANCHOR_DIALOG_USER_LEVEL
public static final int ANCHOR_DIALOG_ANCHOR_LEVEL
public static final int ANCHOR_DIALOG_FAMILY_ICON
public static final int ANCHOR_DIALOG_FOLLOW
public static final int ANCHOR_DIALOG_FANS
public static final int ANCHOR_DIALOG_CONTRIBUTION
public static final int ANCHOR_DIALOG_IMPRESSION
public static final int ANCHOR_DIALOG_FAM
public static final int ANCHOR_DIALOG_LETTER_BTN
public static final int ANCHOR_DIALOG_HOME_BTN
public static final int ANCHOR_DIALOG_FOLLOW_BTN
public static final int PERSONAL_PAGE_FANS_GROUP
public static final int PERSONAL_PAGE_SHOP
public static final int PERSONAL_PAGE_BROADCASTER_TASK
public static final int PERSONAL_PAGE_ACTIVITY_CENTER
public static final int PERSONAL_PAGE_VIP
public static final int PERSONAL_UPLOAD_AVATAR
public static final int PERSONAL_CLICK_EDIT_AVATAR
public static final int ANCHOR_PAGE_SHARE
public static final int ANCHOR_PAGE_MORE
public static final int ANCHOR_PAGE_BACK
public static final int ANCHOR_PAGE_THIRD_LINK
public static final int ANCHOR_PAGE_LIVING_CARD
public static final int ANCHOR_PAGE_GUARD
public static final int ANCHOR_PAGE_CONTRIBUTION
public static final int ANCHOR_PAGE_FANS
public static final int ANCHOR_PAGE_FOLLOW
public static final int ANCHOR_PAGE_REPLAY
public static final int ANCHOR_PAGE_FANS_GROUP
public static final int ANCHOR_PAGE_BADGE_WALL
public static final int ANCHOR_PAGE_MOMENT
public static final int ANCHOR_PAGE_FOLLOW_BTN
public static final int ANCHOR_PAGE_LETTER_BTN
public static final int LETTER_NOTIC_PAGE
public static final int LETTER_NOTIC_CLICK
public static final int LETTER_SYS_NOTIC_PAGE
public static final int LETTER_SYS_NOTIC_CLICK
public static final int LETTER_HIDDEN_CLICK
public static final int LETTER_HIDDEN_DIALOG_CLICK
public static final int NEW_BROADCASTER_GUIDE_LEVEL_2_SHOW
public static final int NEW_BROADCASTER_GUIDE_LEVEL_2_CHECK
public static final int NEW_BROADCASTER_GUIDE_LEVEL_3_SHOW
public static final int NEW_BROADCASTER_GUIDE_LEVEL_3_CHECK
public static final int NEW_HOST_CLICK_GAME_OUT
public static final int MY_PASSWORD_VISITOR
public static final int HOST_SET_MANAGE_CLICK
161012、主播管理端取消管理员 - 点击 161013、管理员详情介绍页面入口 - 点击 161014、直播间-互动-管理员-封禁tab - 点击 161015、直播间-互动-管理员-解禁按钮 - 点击 161016、直播间-互动-管理员-禁言tab - 点击 161017、直播间-互动-管理员-解除禁言按钮 - 点击
161018、直播间-互动-管理员-快速回复tab - 点击 161019、直播间-互动-管理员-完成文案输入 - 点击
1909、用户-设定封禁按钮 - 点击 1910、用户-取消设定封禁按钮 - 点击 1911、用户-设定禁言按钮 - 点击 1912、用户-取消设定禁言按钮 - 点击
public static final int HOST_SET_SUPER_MANAGE_CLICK_TRUE
public static final int HOST_SET_SUPER_MANAGE_CLICK_CANEL
public static final int USER_DIALOG_SET_BLOCK
public static final int USER_DIALOG_SET_UNBLOCK
public static final int USER_DIALOG_SET_MUTE
public static final int USER_DIALOG_SET_UNMUTE
public static final int HOST_CANEL_ADMIN_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_GUIDE_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_BLOCK_TAB_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_BLOCK_USER_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_MUTE_TAB_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_UNMUTE_USER_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_MSG_TAB_CLICK
public static final int AUDIENCE_MANAGE_DIALOG_MSG_EDIT_FINISH
public static final int AUDIT_MANAGE_DIALOG_SHOW
public static final int AUDIT_MANAGE_DIALOG_CLICK
public static final int AUDIT_MANAGE_DIALOG_REPEAT
public static final int AUDIT_HIDE_DIALOG_SHOW
public static final int AUDIT_HIDE_DIALOG_CLICK
public static final int BOOST_MSG_ENTRANCE
public static final int FOLLOW_PAGE_LIVE
public static final int FOLLOW_PAGE_MOMENTS
public static final int FOLLOW_MOMMENTS_HOT
public static final int FOLLOW_MOMMENTS_VIDEO
public static final int FOLLOW_MOMMENTS_FOLLOW
public static final int FOLLOW_MOMMENTS_POST
public static final int NOTICE_MOMMENTS_REDPOINT
public static final int ME_MOMMENTS_POST
public static final int MOMENTS_DETAILE_TAB_SELECT
public static final int MOMENTS_VIDEO_PLAYER_SELECT
public static final int FIVE_YEARS_HOME_ICON
public static final int FIVE_YEARS_ACTIVITY_PAGE_SHOW
public static final int FIVE_YEARS_ACTIVITY_PAGE_TAB_CLICK
public static final int FAM_FISRT_USER_SHOW_DIALOG
public static final int FAM_DIALOG_ACCEPT
public static final int FAM_DIALOG_CLOSE
public static final int FAM_DIALOG_CLOSE_OTHER
public static final int TEAMPK_START_ICON_SHOW
public static final int TEAMPK_START_ICON_ONCLICK
public static final int TEAMPK_START_MATCH_CARD_ONCLICK
public static final int TEAMPK_START_MATCH_START
public static final int TEAMPK_START_MATCH_CANEL
public static final int TEAMPK_START_MATCH_AGAIN
public static java.lang.String LM_FUNCTION
public static int RECOMMEND_BEAUTYPAGE_SHOW
public static int RECOMMEND_BEAUTYPAGE_CLOSE
public static int RECOMMEND_BEAUTYPAGE_CLICK
public static final int LEADER_BOARD_STAR
public static final int WATCH_LIVE_GOLD_DIALOG_SHOW
public static final int WATCH_LIVE_GOLD_DIALOG_RECEIVE
public static final int WATCH_LIVE_GOLD_DIALOG_CLOSE
public static final int WATCH_LIVE_GOLD_SHOW
public static final int WATCH_LIVE_GOLD_CLICK
public void addAndPostImp(java.lang.String rid, java.lang.String sid, java.lang.String c, java.lang.String d, java.lang.String taginfo)
c
- d
- taginfo
- 想打印的其他log信息public void addAndPostSwipeData(java.lang.String tagInfo, int page, java.lang.String vid, java.lang.String uid, int sn, byte showtype, short labelid, java.lang.String labelName, byte livetype, byte act)
tagInfo
- 要打印的信息page:
- 收取的界面类型区分
1、首页
2、Follow页
3、New页
4、Nearby页
5、首页频道-Boy页
6、首页频道-Girls页
7、首页频道-Shorts页
8、首页频道-Game页
9、首页频道-Global(列表)
10、首页频道-Global(查看更多)
11、搜索页vid
- 视频iduid
- 播主idsn
- 直播卡片位于当前分页请求的位置序列号(3.8.40版本开始第一个视频位置改为1)labelid
- 卡片标签idlabelName
- 卡片标签名称act
- 操作类型 1 展现, 2 点击livetype
- 1、常规直播
2、短视频
3、运营位
4、回看
5、游戏
7、连麦嘉宾public void addAndPostSwipeData(java.lang.String tagInfo, int page, java.lang.String vid, java.lang.String uid, int sn, byte showtype, short labelid, java.lang.String labelName, byte livetype, byte act, long levelvb, int verifyvb)
tagInfo
- 要打印的信息page:
- 收取的界面类型区分
1、首页
2、Follow页
3、New页
4、Nearby页
5、首页频道-Boy页
6、首页频道-Girls页
7、首页频道-Shorts页
8、首页频道-Game页
9、首页频道-Global(列表)
10、首页频道-Global(查看更多)
11、搜索页vid
- 视频iduid
- 播主idsn
- 直播卡片位于当前分页请求的位置序列号(3.8.40版本开始第一个视频位置改为1)labelid
- 卡片标签idlabelName
- 卡片标签名称act
- 操作类型 1 展现, 2 点击livetype
- 1、常规直播
2、短视频
3、运营位
4、回看
5、游戏public void postActive(int act, int scene, int time)
act
- 1、服务活跃(冷启+每间隔24小时上报【仅安卓上报,IOS不上报】) 2、主界面活跃(每次打开前台上报) 3、主界面活跃结束(每次关闭前台上报)scene
- 当act=1时:
1、首次服务活跃
2、非首次服务活跃
当act=2时:
3、桌面图标打开主界面(如果主界面已打开,则计到4里)
4、桌面图标重新打开主界面
5、Push打开主界面(如果主界面已打开,则计到6里)
6、Push切换主界面
7、分享页打开主界面(如果主界面已打开,则计到8里)
8、分享页切换主界面
9、商店入口打开主界面(如果主界面已打开,则计到10里)
10、商店入口重新打开主界面
101、其它未知来源打开主界面(如果主界面已打开,则计到12里)
102、其它未知来源重新打开主界面time
- 主界面活跃时长(当act=3时)public void postJion(java.lang.String c, java.lang.String d, java.lang.String rid, java.lang.String sid, java.lang.String taginfo)
public void postLike(java.lang.String c, int cnt, boolean isShort)
c
- cnt
- public void postMsg(java.lang.String c, int msg)
c
- msg
- public void postComment(java.lang.String c, java.lang.String commitid)
public void postShare(java.lang.String c, int sch)
c
- sch
- public void postFollow(java.lang.String c, java.lang.String fuid)
c
- fuid
- public void postUnFollow(java.lang.String c, java.lang.String fuid)
c
- fuid
- public void postLeave(java.lang.String c, int dwell)
c
- dwell
- public void postBadBroadcase(java.lang.String c, int badc)
c
- badc
- public void addGift(java.lang.String c, int giftid, int giftw)
c
- giftid
- giftw
- public void addStar(java.lang.String c, int starid, int startw)
c
- starid
- startw
- public static void postLmFunction(int act)
act
- public static void postFamilyAction(java.lang.String group_id, java.lang.String group_area, java.lang.String group_owner_uid, int group_role, int action, int is_top, int is_receive)
public void postAllData(java.lang.String taginfo)
public static void post(java.lang.String content, int urlType)
content
- 只是post 里面的内容public static java.lang.String getAllPostStr(java.util.Collection<java.util.Map<java.lang.String,java.lang.Object>> list, int urltype, java.lang.String taginfo)
list
- 含有多个map数据的list, 每个map里面都包含了特定事件的上报数据。public PostALGDataUtil addImpInfo2Post(int scrollState, androidx.recyclerview.widget.RecyclerView recyclerView, java.util.List<CardDataBO> data, java.lang.String taginfo)
scrollState
- recyclerView
- data
- reseclerview中adapter里面的数据taginfo
- 你想打的log,之后会打出来tag名为PostALGDataUtilpublic PostALGDataUtil addImpInfo2Post(java.util.List<com.app.live.activity.VideoDataInfo> liveInScreen, java.lang.String taginfo)
liveInScreen
- taginfo
- public PostALGDataUtil addSwipeData2Post(byte act, HomePageDataMgr.DataType dataType, java.lang.String videoType, int scrollState, androidx.recyclerview.widget.RecyclerView recyclerView, java.util.List<CardDataBO> data, int page, byte liveType, java.lang.String taginfo, boolean isUseNewGetPosition, short position)
act
- dataType
- videoType
- scrollState
- recyclerView
- data
- page
- liveType
- taginfo
- isUseNewGetPosition
- position
- public PostALGDataUtil addSwipeData2Post(byte act, java.lang.String videoType, java.util.List<com.app.live.activity.VideoDataInfo> liveInScreen, int page, byte liveType, java.lang.String taginfo)
act
- videoType
- liveInScreen
- page
- liveType
- taginfo
- public byte getLiveType(com.app.live.activity.VideoDataInfo info, byte defaultLiveType)
info
- defaultLiveType
- public static void postAllDataEvery10Min()
public static short getLabelId(com.app.live.activity.VideoDataInfo vd)
public static java.lang.String getLabelName(com.app.live.activity.VideoDataInfo vd)
public static short getVideoPosition(java.lang.String type, int originalPosition)
type
- 表示视频列表的typeoriginalPosition
- 视频在整个列表中的位置public static short getProfilePosition(java.lang.String type, int originalPosition)
type
- 表示视频列表的typeoriginalPosition
- 卡片在整个列表中的位置public static void reportTmxSessionId(java.lang.String sessionid, int type)
sessionid
- type
- public PostALGDataUtil addImpInfoRecommend(java.lang.String rid, java.util.List<AnchorFriend> liveInScreen, java.lang.String taginfo)
rid
- liveInScreen
- taginfo
- public PostALGDataUtil addImpInfoRecommend(java.util.List<AnchorFriend> liveInScreen, java.lang.String taginfo)
liveInScreen
- taginfo
- public PostALGDataUtil addImpInfoRecommendClick(java.util.List<AnchorFriend> liveInScreen, java.lang.String taginfo)
liveInScreen
- taginfo
- public void addAndPostImpRecommend(java.lang.String rid, java.lang.String uid, java.lang.String c, java.lang.String d, java.lang.String taginfo, int act)
rid
- uid
- c
- d
- taginfo
- public void addImpRecommend(java.lang.String rid, java.lang.String uid, java.lang.String c, java.lang.String d, java.lang.String taginfo, int act)
rid
- uid
- c
- d
- taginfo
- public void addAndPostPush(java.lang.String push_id, java.lang.String c, java.lang.String d, java.lang.String taginfo, int act)
public void dynamicDataPost(java.lang.String rid, java.lang.String uid, java.lang.String c, java.lang.String d, java.lang.String taginfo, int act, boolean atOnce)
uid
- c
- d
- taginfo
- * atOnce 是否立即上报public void activeDataPost(java.lang.String uid, java.lang.String c, java.lang.String d, java.lang.String taginfo, int act)
c
- d
- taginfo
- public void forceReportData()