public void Start() { IntPtr sigbus = Marshal.AllocHGlobal(512); IntPtr sigsegv = Marshal.AllocHGlobal(512); // Store Mono SIGSEGV and SIGBUS handlers sigaction(Signal.SIGBUS, IntPtr.Zero, sigbus); sigaction(Signal.SIGSEGV, IntPtr.Zero, sigsegv); MSAIApplicationInsights.Start(); registerUnhandledExceptionHandler(); sigaction(Signal.SIGBUS, sigbus, IntPtr.Zero); sigaction(Signal.SIGSEGV, sigsegv, IntPtr.Zero); }
public void RenewSessionWithId(string sessionId) { MSAIApplicationInsights.RenewSessionWithId(sessionId); }
public void SetSessionExpirationTime(int appBackgroundTime) { MSAIApplicationInsights.SetAppBackgroundTimeBeforeSessionExpires((nuint)appBackgroundTime); }
public void StartNewSession() { MSAIApplicationInsights.StartNewSession(); }
public void SetAuthUserId(string authUserId) { MSAIApplicationInsights.SetUser(delegate(MSAIUser user) { user.SetAuthUserId(authUserId); }); }
public void SetAutoSessionManagementDisabled(bool autoSessionManagementDisabled) { MSAIApplicationInsights.SetAutoSessionManagementDisabled(autoSessionManagementDisabled); }
public void SetAutoPageViewTrackingDisabled(bool autoPageViewTrackingDisabled) { MSAIApplicationInsights.SetAutoPageViewTrackingDisabled(autoPageViewTrackingDisabled); }
public void SetTelemetryManagerDisabled(bool telemetryManagerDisabled) { MSAIApplicationInsights.SetTelemetryManagerDisabled(telemetryManagerDisabled); }
public void Start() { MSAIApplicationInsights.Start(); }
public void Setup(string instrumentationKey) { MSAIApplicationInsights.Setup(instrumentationKey); }
public void SetUserId(string userId) { MSAIApplicationInsights.SetUserId(userId); }
public void SetCrashManagerDisabled(bool crashManagerDisabled) { _crashManagerDisabled = crashManagerDisabled; MSAIApplicationInsights.SetCrashManagerDisabled(crashManagerDisabled); }
public void Setup(string instrumentationKey) { MSAIApplicationInsights.Setup(instrumentationKey); MSAIApplicationInsights.SetAutoSessionManagementDisabled(false); }