Esempio n. 1
0
 static void n_UncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Liveperson.Infra.Utils.SDKUncaughtExceptionHandler __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Utils.SDKUncaughtExceptionHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Thread    p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Thread> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Throwable p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.UncaughtException(p0, p1);
 }
Esempio n. 2
0
 public static unsafe global::Com.Liveperson.Infra.Utils.SDKUncaughtExceptionHandler GetInstance(global::Java.Lang.Thread.IUncaughtExceptionHandler p0)
 {
     if (id_getInstance_Ljava_lang_Thread_UncaughtExceptionHandler_ == IntPtr.Zero)
     {
         id_getInstance_Ljava_lang_Thread_UncaughtExceptionHandler_ = JNIEnv.GetStaticMethodID(class_ref, "getInstance", "(Ljava/lang/Thread$UncaughtExceptionHandler;)Lcom/liveperson/infra/utils/SDKUncaughtExceptionHandler;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Liveperson.Infra.Utils.SDKUncaughtExceptionHandler __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Utils.SDKUncaughtExceptionHandler> (JNIEnv.CallStaticObjectMethod(class_ref, id_getInstance_Ljava_lang_Thread_UncaughtExceptionHandler_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }