Exemple #1
0
    public static void setReportMode(DCReportMode mode)
    {
#if UNITY_EDITOR
#elif UNITY_ANDROID
        agent.CallStatic("setReportMode", (int)mode);
#elif UNITY_IPHONE
        dcSetReportMode((int)mode);
#elif UNITY_WP8
        DataEyeWP8.DCAgent.setReportMode((DataEyeWP8.DCReportMode)mode);
#endif
    }
Exemple #2
0
	public static void setReportMode(DCReportMode mode)
	{
#if UNITY_EDITOR
#elif UNITY_ANDROID
		agent.CallStatic("setReportMode", (int)mode);
#elif UNITY_IPHONE
		dcSetReportMode((int)mode);
#elif UNITY_WP8
		DataEyeWP8.DCAgent.setReportMode((DataEyeWP8.DCReportMode)mode);
#endif
	}
Exemple #3
0
    //-------------------------------------------------------------------------
    /// <summary>
    /// DataEye统计初始化
    /// </summary>
    /// <param name="app_id"></param>
    /// <param name="channel_id"></param>
    /// <param name="report_mode"></param>
    public static void initWithAppIdAndChannelId(string app_id, string channel_id, bool open_adtracking = true, DCReportMode report_mode = DCReportMode.DC_AFTER_LOGIN)
    {
        //if (open_adtracking)
        //{
        //    DCAgent.openAdTracking();
        //}

        DCAgent.setReportMode(report_mode);
        DCAgent.getInstance().initWithAppIdAndChannelId(app_id, channel_id);
    }
Exemple #4
0
 //-------------------------------------------------------------------------
 /// <summary>
 /// DataEye统计初始化
 /// </summary>
 /// <param name="app_id"></param>
 /// <param name="channel_id"></param>
 /// <param name="report_mode"></param>
 public static void initWithAppIdAndChannelId(string app_id, string channel_id, DCReportMode report_mode = DCReportMode.DC_AFTER_LOGIN)
 {
     DCAgent.getInstance().initWithAppIdAndChannelId(app_id, channel_id);
 }
Exemple #5
0
 //-------------------------------------------------------------------------
 /// <summary>
 /// DataEye统计初始化
 /// </summary>
 /// <param name="app_id"></param>
 /// <param name="channel_id"></param>
 /// <param name="report_mode"></param>
 public static void initWithAppIdAndChannelId(string app_id, string channel_id, DCReportMode report_mode = DCReportMode.DC_AFTER_LOGIN)
 {
     DCAgent.getInstance().initWithAppIdAndChannelId(app_id, channel_id);
 }