예제 #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
    }
예제 #2
0
파일: DCAgent.cs 프로젝트: yinlei/GF.Core
	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
	}
예제 #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);
    }
예제 #4
0
파일: DataEye.cs 프로젝트: yinlei/GF.Core
 //-------------------------------------------------------------------------
 /// <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);
 }
예제 #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);
 }