コード例 #1
0
 public static void AddURLToBlackList(string url)
 {
     if (!URLBlackList.Contains(url))
     {
         URLBlackList.Add(url);
     }
     Mint.AddURLToBlackListInternal(url);
 }
コード例 #2
0
 private static void LogUnobservedUnawaitedException(System.Exception exception)
 {
     if ((HandleUnobservedException != null &&
          HandleUnobservedException(exception)) ||
         HandleUnobservedException == null)
     {
         System.Diagnostics.Debug.WriteLine("LogUnobservedUnawaitedExceptionAsync invoked");
         Mint.XamarinException(exception.ToJavaException(), false, null);
         OnUnhandledExceptionHandled(exception, "System.Exception");
     }
 }
コード例 #3
0
 public static void InitAndStartXamarinSession(Android.Content.Context context, string apiKey)
 {
     Mint.AddExtraData("XamarinSDKVersion", "4.4.0");
     XamarinExceptionHandler.InitXamarinExceptionHandler();
     Mint.InitAndStartSession(context, apiKey);
 }
コード例 #4
0
 public void UncaughtException(Java.Lang.Thread thread, Throwable ex)
 {
     Mint.XamarinException(ex.ToJavaException(), false, null);
     LastBreath();
     UncaughtExceptionHandled(null, ex);
 }
コード例 #5
0
 static void CurrentDomainUnhandledHandler(object sender, UnhandledExceptionEventArgs e)
 {
     Mint.XamarinException((e.ExceptionObject as System.Exception).ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.ExceptionObject, "System.Exception");
 }
コード例 #6
0
 static void HandleUnhandledExceptionRaiser(object sender, RaiseThrowableEventArgs e)
 {
     Mint.XamarinException(e.Exception.ToJavaException(), false, null);
     LastBreath();
     OnUnhandledExceptionHandled(e.Exception, "System.Exception");
 }