public unsafe SiteSettingsFetcherTask(global::Com.Liveperson.Messaging.Controller.AccountsController 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(SiteSettingsFetcherTask)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/controller/AccountsController;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/controller/AccountsController;)V", __args); return; } if (id_ctor_Lcom_liveperson_messaging_controller_AccountsController_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_messaging_controller_AccountsController_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/AccountsController;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_, __args); } finally { } }
public unsafe UnregisterPusherCommand(global::Com.Liveperson.Messaging.Controller.AccountsController p0, global::Com.Liveperson.Messaging.Model.AmsUsers p1, string p2, string p3, global::Com.Liveperson.Infra.ICallback p4, bool p5) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p2 = JNIEnv.NewString(p2); IntPtr native_p3 = JNIEnv.NewString(p3); try { JValue *__args = stackalloc JValue [6]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(native_p3); __args [4] = new JValue(p4); __args [5] = new JValue(p5); if (((object)this).GetType() != typeof(UnregisterPusherCommand)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/ICallback;Z)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/ICallback;Z)V", __args); return; } if (id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_ICallback_Z == IntPtr.Zero) { id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_ICallback_Z = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/AccountsController;Lcom/liveperson/messaging/model/AmsUsers;Ljava/lang/String;Ljava/lang/String;Lcom/liveperson/infra/ICallback;Z)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_ICallback_Z, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Lcom_liveperson_messaging_model_AmsUsers_Ljava_lang_String_Ljava_lang_String_Lcom_liveperson_infra_ICallback_Z, __args); } finally { JNIEnv.DeleteLocalRef(native_p2); JNIEnv.DeleteLocalRef(native_p3); } }
public unsafe SynchronizedAuthenticationCompletedCallback(global::Com.Liveperson.Messaging.Controller.AccountsController p0, string p1, global::Com.Liveperson.Infra.ICallback p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); if (((object)this).GetType() != typeof(SynchronizedAuthenticationCompletedCallback)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V", __args); return; } if (id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_ == IntPtr.Zero) { id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/AccountsController;Ljava/lang/String;Lcom/liveperson/infra/ICallback;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_AccountsController_Ljava_lang_String_Lcom_liveperson_infra_ICallback_, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); } }