Exemplo n.º 1
0
            public unsafe QueryRequestMessage(global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager __self, int p1, int p2, global::Com.Liveperson.Messaging.Model.ConversationData p3, bool p4)
                : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
            {
                if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
                {
                    return;
                }

                try {
                    JValue *__args = stackalloc JValue [5];
                    __args [0] = new JValue(__self);
                    __args [1] = new JValue(p1);
                    __args [2] = new JValue(p2);
                    __args [3] = new JValue(p3);
                    __args [4] = new JValue(p4);
                    if (((object)this).GetType() != typeof(QueryRequestMessage))
                    {
                        SetHandle(
                            global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";IILcom/liveperson/messaging/model/ConversationData;Z)V", __args),
                            JniHandleOwnership.TransferLocalRef);
                        global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(L" + global::Android.Runtime.JNIEnv.GetJniName(GetType().DeclaringType) + ";IILcom/liveperson/messaging/model/ConversationData;Z)V", __args);
                        return;
                    }

                    if (id_ctor_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_IILcom_liveperson_messaging_model_ConversationData_Z == IntPtr.Zero)
                    {
                        id_ctor_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_IILcom_liveperson_messaging_model_ConversationData_Z = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/commands/tasks/FetchConversationManager;IILcom/liveperson/messaging/model/ConversationData;Z)V");
                    }
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_IILcom_liveperson_messaging_model_ConversationData_Z, __args),
                        JniHandleOwnership.TransferLocalRef);
                    JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_IILcom_liveperson_messaging_model_ConversationData_Z, __args);
                } finally {
                }
            }
Exemplo n.º 2
0
        static void n_FetchConversationsFirstTime_Ljava_lang_String_Ljava_util_List_Ljava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
        {
            global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            var    p1 = global::Android.Runtime.JavaList <global::Com.Liveperson.Messaging.Model.ConversationData> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer);

            var p2 = global::Android.Runtime.JavaList <global::Com.Liveperson.Messaging.Model.ConversationData> .FromJniHandle(native_p2, JniHandleOwnership.DoNotTransfer);

            __this.FetchConversationsFirstTime(p0, p1, p2);
        }
Exemplo n.º 3
0
 static void n_RefreshConversation_Lcom_liveperson_messaging_model_Conversation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Model.Conversation p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.Conversation> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.RefreshConversation(p0);
 }
Exemplo n.º 4
0
 static void n_Init(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Init();
 }