We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我使用的3.0库 策略的核心逻辑是不是TcStaticsManagerImpl的 public void startSchedule() { // if debug time is 5 min if (StaticsConfig.DEBUG && TcStatInterface.uploadPolicy == TcStatInterface.UploadPolicy.UPLOAD_POLICY_DEVELOPMENT) { statiPollMgr.start(5 * 1000); LogUtil.d(TAG, "schedule is start"); } else { if (NetworkUtil.isWifi(mContext)) { statiPollMgr.start(TcStatInterface.getIntervalRealtime() * 60 * 1000); } else { statiPollMgr.start(TcStatInterface.UPLOAD_TIME_THIRTY * 60 * 1000); } } }
没有体现UploadPolicy枚举里各个枚举的逻辑
The text was updated successfully, but these errors were encountered:
我从源码里看到你在一些地方埋点了,比如界面切换、前后台切换、点击控件,这些地方触发startSchedule,但是在startSchedule没有实现那些枚举的策略,是不是没有开发完呢?
Sorry, something went wrong.
No branches or pull requests
我使用的3.0库
策略的核心逻辑是不是TcStaticsManagerImpl的
public void startSchedule() {
// if debug time is 5 min
if (StaticsConfig.DEBUG && TcStatInterface.uploadPolicy == TcStatInterface.UploadPolicy.UPLOAD_POLICY_DEVELOPMENT) {
statiPollMgr.start(5 * 1000);
LogUtil.d(TAG, "schedule is start");
} else {
if (NetworkUtil.isWifi(mContext)) {
statiPollMgr.start(TcStatInterface.getIntervalRealtime() * 60 * 1000);
} else {
statiPollMgr.start(TcStatInterface.UPLOAD_TIME_THIRTY * 60 * 1000);
}
}
}
没有体现UploadPolicy枚举里各个枚举的逻辑
The text was updated successfully, but these errors were encountered: