Пример #1
0
 internal static void SendRemainingActivity()
 {
     if (_pulse != null)
     {
         if (_timer.IsRunning && _currentActivity != null)
         {
             _timer.Stop();
             string activityName = GetActivityName(_currentActivity);
             _raygunClient.SendPulseTimingEventNow(RaygunPulseEventType.ViewLoaded, activityName, _timer.ElapsedMilliseconds);
         }
         _raygunClient.EnsurePulseSessionEnded();
     }
 }
Пример #2
0
 private static void OnDidEnterBackground(NSNotification notification)
 {
     _raygunClient.EnsurePulseSessionEnded();
 }