public virtual unsafe void SendMessageImmediately(global::Com.Liveperson.Infra.Log.Logreporter.Loggos.LoggosMessage p0) { if (id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_ == IntPtr.Zero) { id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_ = JNIEnv.GetMethodID(class_ref, "sendMessageImmediately", "(Lcom/liveperson/infra/log/logreporter/loggos/LoggosMessage;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_sendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "sendMessageImmediately", "(Lcom/liveperson/infra/log/logreporter/loggos/LoggosMessage;)V"), __args); } } finally { } }
static void n_SendMessageImmediately_Lcom_liveperson_infra_log_logreporter_loggos_LoggosMessage_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Infra.Log.Logreporter.Loggos.Loggos __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Log.Logreporter.Loggos.Loggos> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Infra.Log.Logreporter.Loggos.LoggosMessage p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Log.Logreporter.Loggos.LoggosMessage> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SendMessageImmediately(p0); }