static void n_OnLogoutFailed(IntPtr jnienv, IntPtr native__this) { global::Com.Liveperson.Messaging.Sdk.Api.Callbacks.ILogoutLivePersonCallback __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Sdk.Api.Callbacks.ILogoutLivePersonCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnLogoutFailed(); }
public static unsafe void LogOut(global::Android.Content.Context p0, string p1, string p2, global::Com.Liveperson.Messaging.Sdk.Api.Callbacks.ILogoutLivePersonCallback p3) { if (id_logOut_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_sdk_api_callbacks_LogoutLivePersonCallback_ == IntPtr.Zero) { id_logOut_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_sdk_api_callbacks_LogoutLivePersonCallback_ = JNIEnv.GetStaticMethodID(class_ref, "logOut", "(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/messaging/sdk/api/callbacks/LogoutLivePersonCallback;)V"); } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p2 = JNIEnv.NewString(p2); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(p3); JNIEnv.CallStaticVoidMethod(class_ref, id_logOut_Landroid_content_Context_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_messaging_sdk_api_callbacks_LogoutLivePersonCallback_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p2); } }