public unsafe LogoutEvent(global::Com.Liveperson.Infra.Statemachine.LogoutProcess p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() != typeof(LogoutEvent)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/infra/statemachine/LogoutProcess;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/infra/statemachine/LogoutProcess;)V", __args); return; } if (id_ctor_Lcom_liveperson_infra_statemachine_LogoutProcess_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_infra_statemachine_LogoutProcess_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/infra/statemachine/LogoutProcess;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_infra_statemachine_LogoutProcess_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_infra_statemachine_LogoutProcess_, __args); } finally { } }
static void n_Logout_Landroid_content_Context_Lcom_liveperson_messaging_MessagingInitData_Lcom_liveperson_infra_statemachine_LogoutProcess_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Liveperson.Messaging.MessagingFactory __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.MessagingFactory> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Messaging.MessagingInitData p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.MessagingInitData> (native_p1, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Infra.Statemachine.LogoutProcess p2 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.LogoutProcess> (native_p2, JniHandleOwnership.DoNotTransfer); __this.Logout(p0, p1, p2); }
static void n_InitForLogout(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Infra.Statemachine.LogoutProcess __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.LogoutProcess> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.InitForLogout(); }
static IntPtr n_GetLogoutCallback(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Infra.Statemachine.LogoutProcess __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.LogoutProcess> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.LogoutCallback)); }
static void n_ShutDownForLogout_Lcom_liveperson_infra_sdkstatemachine_shutdown_ShutDownCompletionListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Liveperson.Infra.Statemachine.LogoutProcess __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Statemachine.LogoutProcess> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Liveperson.Infra.Sdkstatemachine.Shutdown.IShutDownCompletionListener p0 = (global::Com.Liveperson.Infra.Sdkstatemachine.Shutdown.IShutDownCompletionListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Sdkstatemachine.Shutdown.IShutDownCompletionListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.ShutDownForLogout(p0); }
public virtual unsafe void Logout(global::Android.Content.Context p0, global::Com.Liveperson.Messaging.MessagingInitData p1, global::Com.Liveperson.Infra.Statemachine.LogoutProcess p2) { if (id_logout_Landroid_content_Context_Lcom_liveperson_messaging_MessagingInitData_Lcom_liveperson_infra_statemachine_LogoutProcess_ == IntPtr.Zero) { id_logout_Landroid_content_Context_Lcom_liveperson_messaging_MessagingInitData_Lcom_liveperson_infra_statemachine_LogoutProcess_ = JNIEnv.GetMethodID(class_ref, "logout", "(Landroid/content/Context;Lcom/liveperson/messaging/MessagingInitData;Lcom/liveperson/infra/statemachine/LogoutProcess;)V"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_logout_Landroid_content_Context_Lcom_liveperson_messaging_MessagingInitData_Lcom_liveperson_infra_statemachine_LogoutProcess_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "logout", "(Landroid/content/Context;Lcom/liveperson/messaging/MessagingInitData;Lcom/liveperson/infra/statemachine/LogoutProcess;)V"), __args); } } finally { } }