com.gitee.summer9102.develop.alibaba.umeng.UmengUtil Maven / Gradle / Ivy
package com.gitee.summer9102.develop.alibaba.umeng;
import com.alibaba.ocean.rawsdk.client.exception.OceanException;
import com.umeng.uapp.param.*;
public class UmengUtil {
public static UmengUappGetTodayDataResult getTodayData(Umeng umeng, UmengUappGetTodayDataParam param) throws OceanException {
UmengUappGetTodayDataResult result = umeng.getApiExecutor().execute(param);
return result;
}
public static UmengUappGetNewUsersByChannelOrVersionResult getNewUsersByChannel(Umeng umeng, UmengUappGetNewUsersByChannelOrVersionParam param) throws OceanException {
UmengUappGetNewUsersByChannelOrVersionResult result = umeng.getApiExecutor().execute(param);
return result;
}
public static UmengUappGetDurationsResult getDurations(Umeng umeng, UmengUappGetDurationsParam param) throws OceanException {
UmengUappGetDurationsResult result = umeng.getApiExecutor().execute(param);
return result;
}
public static UmengUappGetDailyDataResult getDailyData(Umeng umeng, UmengUappGetDailyDataParam param) throws OceanException {
UmengUappGetDailyDataResult result = umeng.getApiExecutor().execute(param);
return result;
}
}