1
This commit is contained in:
@@ -474,16 +474,29 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
if(obj.getIntValue("see_time")>=600&&obj.getIntValue("un_charge")==1){
|
||||
AdjustEvent good_user = new AdjustEvent("val8lv");
|
||||
Adjust.trackEvent(good_user);
|
||||
CommonHttpUtil.setAdvertisingChannels("val8lv", new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if(code == 0) {
|
||||
mFirebaseAnalytics.logEvent("FS_good_user", null);
|
||||
logger.logEvent("FB_good_user", null);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
mFirebaseAnalytics.logEvent("FS_good_user", null);
|
||||
logger.logEvent("FB_good_user", null);
|
||||
//有效用户
|
||||
}else if(obj.getIntValue("see_time")>=600){
|
||||
AdjustEvent valid_user = new AdjustEvent("xuf8ep");
|
||||
Adjust.trackEvent(valid_user);
|
||||
|
||||
mFirebaseAnalytics.logEvent("FS_Valid_user", null);
|
||||
logger.logEvent("FB_Valid_user", null);
|
||||
CommonHttpUtil.setAdvertisingChannels("xuf8ep", new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if(code == 0) {
|
||||
mFirebaseAnalytics.logEvent("FS_Valid_user", null);
|
||||
logger.logEvent("FB_Valid_user", null);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
//连接socket
|
||||
LiveHttpUtil.enterBackRoom(mLiveUid, mStream, new HttpCallback() {
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.adjust.sdk.AdjustEvent;
|
||||
import com.yunbao.common.CommonAppConfig;
|
||||
import com.yunbao.common.Constants;
|
||||
import com.yunbao.common.bean.UserBean;
|
||||
import com.yunbao.common.http.CommonHttpUtil;
|
||||
import com.yunbao.common.http.HttpCallback;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.live.R;
|
||||
@@ -115,9 +116,18 @@ public class SocketRyChatUtil {
|
||||
@Override
|
||||
public void onSuccess(Message message) {
|
||||
Log.i("tx", "发送成功"+mLiveUid);
|
||||
//发言成功
|
||||
//首发言成功
|
||||
AdjustEvent adjustEvent1 = new AdjustEvent("j7isvr");
|
||||
Adjust.trackEvent(adjustEvent1);
|
||||
CommonHttpUtil.setAdvertisingChannels("j7isvr", new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if(code == 0) {
|
||||
mFirebaseAnalytics.logEvent("FS_liveinteraction", null);
|
||||
logger.logEvent("FB_liveinteraction ");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
mFirebaseAnalytics.logEvent("FS_type_interaction", null);
|
||||
logger.logEvent("FB_type_interaction");
|
||||
|
||||
Reference in New Issue
Block a user