Пример #1
0
        static void n_SetEventId_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.EventId = p0;
        }
Пример #2
0
 static void n_ApplyChanges_Landroid_os_Bundle_Lcom_liveperson_infra_model_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Liveperson.Infra.UI.View.Adapter.Viewholder.BaseViewHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.UI.View.Adapter.Viewholder.BaseViewHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.OS.Bundle p0 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Model.Message p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.ApplyChanges(p0, p1);
 }
 static void n_OnBind_Lcom_liveperson_infra_ui_view_adapter_viewholder_MiddleViewHolder_Lcom_liveperson_infra_model_Message_II(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, int p2, int p3)
 {
     global::Com.Liveperson.Infra.UI.View.Adapter.RecyclerViewCursorAdapter   __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.UI.View.Adapter.RecyclerViewCursorAdapter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.UI.View.Adapter.Viewholder.MiddleViewHolder p0     = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.UI.View.Adapter.Viewholder.MiddleViewHolder> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Model.Message p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.OnBind(p0, p1, p2, p3);
 }
Пример #4
0
 static void n_SetViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Lcom_liveperson_infra_model_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsConsumerViewHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsConsumerViewHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageState p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageState> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType  p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Model.Message p2 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.SetViewAppearanceByState(p0, p1, p2);
 }
Пример #5
0
        static int n_Resend_Lcom_liveperson_infra_model_Message_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsConsumerViewHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsConsumerViewHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Infra.Model.Message p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType p1 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType> (native_p1, JniHandleOwnership.DoNotTransfer);
            int __ret = __this.Resend(p0, p1);

            return(__ret);
        }
Пример #6
0
        public virtual unsafe void ApplyChanges(global::Android.OS.Bundle p0, global::Com.Liveperson.Infra.Model.Message p1)
        {
            if (id_applyChanges_Landroid_os_Bundle_Lcom_liveperson_infra_model_Message_ == IntPtr.Zero)
            {
                id_applyChanges_Landroid_os_Bundle_Lcom_liveperson_infra_model_Message_ = JNIEnv.GetMethodID(class_ref, "applyChanges", "(Landroid/os/Bundle;Lcom/liveperson/infra/model/Message;)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_applyChanges_Landroid_os_Bundle_Lcom_liveperson_infra_model_Message_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "applyChanges", "(Landroid/os/Bundle;Lcom/liveperson/infra/model/Message;)V"), __args);
                }
            } finally {
            }
        }
Пример #7
0
        protected virtual unsafe int Resend(global::Com.Liveperson.Infra.Model.Message p0, global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType p1)
        {
            if (id_resend_Lcom_liveperson_infra_model_Message_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_ == IntPtr.Zero)
            {
                id_resend_Lcom_liveperson_infra_model_Message_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_ = JNIEnv.GetMethodID(class_ref, "resend", "(Lcom/liveperson/infra/model/Message;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;)I");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                int __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = JNIEnv.CallIntMethod(((global::Java.Lang.Object) this).Handle, id_resend_Lcom_liveperson_infra_model_Message_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_, __args);
                }
                else
                {
                    __ret = JNIEnv.CallNonvirtualIntMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "resend", "(Lcom/liveperson/infra/model/Message;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;)I"), __args);
                }
                return(__ret);
            } finally {
            }
        }
        public virtual unsafe void OnBind(global::Com.Liveperson.Infra.UI.View.Adapter.Viewholder.MiddleViewHolder p0, global::Com.Liveperson.Infra.Model.Message p1, int p2, int p3)
        {
            if (id_onBind_Lcom_liveperson_infra_ui_view_adapter_viewholder_MiddleViewHolder_Lcom_liveperson_infra_model_Message_II == IntPtr.Zero)
            {
                id_onBind_Lcom_liveperson_infra_ui_view_adapter_viewholder_MiddleViewHolder_Lcom_liveperson_infra_model_Message_II = JNIEnv.GetMethodID(class_ref, "onBind", "(Lcom/liveperson/infra/ui/view/adapter/viewholder/MiddleViewHolder;Lcom/liveperson/infra/model/Message;II)V");
            }
            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onBind_Lcom_liveperson_infra_ui_view_adapter_viewholder_MiddleViewHolder_Lcom_liveperson_infra_model_Message_II, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onBind", "(Lcom/liveperson/infra/ui/view/adapter/viewholder/MiddleViewHolder;Lcom/liveperson/infra/model/Message;II)V"), __args);
                }
            } finally {
            }
        }
Пример #9
0
        public virtual unsafe void SetViewAppearanceByState(global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageState p0, global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageType p1, global::Com.Liveperson.Infra.Model.Message p2)
        {
            if (id_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Lcom_liveperson_infra_model_Message_ == IntPtr.Zero)
            {
                id_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Lcom_liveperson_infra_model_Message_ = JNIEnv.GetMethodID(class_ref, "setViewAppearanceByState", "(Lcom/liveperson/messaging/model/MessagingChatMessage$MessageState;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;Lcom/liveperson/infra/model/Message;)V");
            }
            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageType_Lcom_liveperson_infra_model_Message_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setViewAppearanceByState", "(Lcom/liveperson/messaging/model/MessagingChatMessage$MessageState;Lcom/liveperson/messaging/model/MessagingChatMessage$MessageType;Lcom/liveperson/infra/model/Message;)V"), __args);
                }
            } finally {
            }
        }
Пример #10
0
 static IntPtr n_GetContentType(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.ContentType));
 }
Пример #11
0
 static void n_SetMessageId_J(IntPtr jnienv, IntPtr native__this, long p0)
 {
     global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetMessageId(p0);
 }
Пример #12
0
 static long n_GetTimeStamp(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.TimeStamp);
 }
Пример #13
0
 static void n_SetServerSequence_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.ServerSequence = p0;
 }
Пример #14
0
 static int n_GetServerSequence(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Infra.Model.Message __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Model.Message> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.ServerSequence);
 }