protected virtual unsafe void QueryMessages(global::Com.Liveperson.Messaging.Model.Conversation p0, global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE p1)
        {
            if (id_queryMessages_Lcom_liveperson_messaging_model_Conversation_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_DATA_SOURCE_ == IntPtr.Zero)
            {
                id_queryMessages_Lcom_liveperson_messaging_model_Conversation_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_DATA_SOURCE_ = JNIEnv.GetMethodID(class_ref, "queryMessages", "(Lcom/liveperson/messaging/model/Conversation;Lcom/liveperson/messaging/commands/tasks/FetchConversationManager$DATA_SOURCE;)V");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_queryMessages_Lcom_liveperson_messaging_model_Conversation_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_DATA_SOURCE_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "queryMessages", "(Lcom/liveperson/messaging/model/Conversation;Lcom/liveperson/messaging/commands/tasks/FetchConversationManager$DATA_SOURCE;)V"), __args);
                }
            } finally {
            }
        }
Пример #2
0
            public static unsafe global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE ValueOf(string p0)
            {
                if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/liveperson/messaging/commands/tasks/FetchConversationManager$DATA_SOURCE;");
                }
                IntPtr native_p0 = JNIEnv.NewString(p0);

                try {
                    JValue *__args = stackalloc JValue [1];
                    __args [0] = new JValue(native_p0);
                    global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                    return(__ret);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p0);
                }
            }
 static void n_QueryMessages_Lcom_liveperson_messaging_model_Conversation_Lcom_liveperson_messaging_commands_tasks_FetchConversationManager_DATA_SOURCE_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Liveperson.Messaging.Network.Socket.ExConversationChangeNotificationResponseHandler __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Network.Socket.ExConversationChangeNotificationResponseHandler> (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);
     global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Commands.Tasks.FetchConversationManager.DATA_SOURCE> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.QueryMessages(p0, p1);
 }