Пример #1
0
            public unsafe IdleState(global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld __self, string p1, string p2)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                IntPtr native_p1 = JNIEnv.NewString(p1);
                IntPtr native_p2 = JNIEnv.NewString(p2);

                try {
                    JValue *__args = stackalloc JValue [3];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(native_p1);
                    __args [2] = new JValue(native_p2);
                    if (((object)this).GetType() != typeof(IdleState))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Ljava/lang/String;Ljava/lang/String;)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";Ljava/lang/String;Ljava/lang/String;)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_liveperson_messaging_controller_connection_ConnectionStateMachineOld_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
                    {
                        id_ctor_Lcom_liveperson_messaging_controller_connection_ConnectionStateMachineOld_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/controller/connection/ConnectionStateMachineOld;Ljava/lang/String;Ljava/lang/String;)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_controller_connection_ConnectionStateMachineOld_Ljava_lang_String_Ljava_lang_String_, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_controller_connection_ConnectionStateMachineOld_Ljava_lang_String_Ljava_lang_String_, __args);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p1);
                    JNIEnv.DeleteLocalRef(native_p2);
                }
            }
Пример #2
0
 static void n_StartDisconnecting(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.StartDisconnecting();
 }
Пример #3
0
 static void n_ShutDown_Lcom_liveperson_infra_sdkstatemachine_shutdown_ShutDownCompletionListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld  __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld> (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.ShutDown(p0);
 }
Пример #4
0
        static void n_SetDisconnectingTasks_Ljava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var p0 = global::Android.Runtime.JavaList <global::Com.Liveperson.Messaging.Commands.Tasks.BaseAmsAccountConnectionTask> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.SetDisconnectingTasks(p0);
        }
Пример #5
0
        static void n_SetBrandId_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Controller.Connection.ConnectionStateMachineOld> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.SetBrandId(p0);
        }