private SendPulseSessionEvent ( RaygunPulseSessionEventType eventType ) : void | ||
eventType | RaygunPulseSessionEventType | The type of session event that occurred. |
return | void |
internal void SendPulseSessionEvent(RaygunPulseSessionEventType eventType)
{
if (eventType == RaygunPulseSessionEventType.SessionStart)
{
_sessionId = Guid.NewGuid().ToString();
}
ThreadPool.QueueUserWorkItem(c => SendPulseSessionEventCore(eventType));
}
private static void OnDidBecomeActive(NSNotification notification) { //Console.WriteLine("SESSION START"); _raygunClient.SendPulseSessionEvent(RaygunPulseSessionEventType.SessionStart); if (_lastViewName != null) { _raygunClient.SendPulseTimingEvent(RaygunPulseEventType.ViewLoaded, _lastViewName, 0); } }