Integreat.iOS.AnalyticsService.Initialize C# (CSharp) 메소드

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void
		public void Initialize()
        {
            _instance = GetInstance();
			Gai.SharedInstance.DispatchInterval = 10;
			Gai.SharedInstance.TrackUncaughtExceptions = true;

			//Enable for debugging:
			//Gai.SharedInstance.DryRun = true; //don't send stuff to server
			//Gai.SharedInstance.Logger.SetLogLevel(LogLevel.Verbose);

			_tracker = Gai.SharedInstance.GetTracker(TrackingId);
			_tracker.SetAllowIdfaCollection(true);
        }