Exemplo n.º 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
    }
Exemplo n.º 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
	}
Exemplo n.º 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);
    }
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }