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(); } }
private static void OnDidEnterBackground(NSNotification notification) { _raygunClient.EnsurePulseSessionEnded(); }