public virtual unsafe void SetWebViewOnClickListener(global::Android.Content.Context p0, string p1, global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.BaseAction p2, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p3)
        {
            if (id_setWebViewOnClickListener_Landroid_content_Context_Ljava_lang_String_Lcom_liveperson_messaging_structuredcontent_model_actions_BaseAction_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_ == IntPtr.Zero)
            {
                id_setWebViewOnClickListener_Landroid_content_Context_Ljava_lang_String_Lcom_liveperson_messaging_structuredcontent_model_actions_BaseAction_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_ = JNIEnv.GetMethodID(class_ref, "setWebViewOnClickListener", "(Landroid/content/Context;Ljava/lang/String;Lcom/liveperson/messaging/structuredcontent/model/actions/BaseAction;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [4];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_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_setWebViewOnClickListener_Landroid_content_Context_Ljava_lang_String_Lcom_liveperson_messaging_structuredcontent_model_actions_BaseAction_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setWebViewOnClickListener", "(Landroid/content/Context;Ljava/lang/String;Lcom/liveperson/messaging/structuredcontent/model/actions/BaseAction;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;)V"), __args);
                }
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public unsafe QuickRepliesViewBuilderVisitor(global::Android.Content.Context p0, global::Android.Views.ViewGroup p1, string p2, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p3, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener p4, int p5, int p6, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Visitor.ViewBuilderVisitor.IStructuredContentContainerOperations p7)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [8];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                __args [5] = new JValue(p5);
                __args [6] = new JValue(p6);
                __args [7] = new JValue(p7);
                if (((object)this).GetType() != typeof(QuickRepliesViewBuilderVisitor))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Landroid/view/ViewGroup;Ljava/lang/String;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;IILcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Landroid/view/ViewGroup;Ljava/lang/String;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;IILcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Landroid_view_ViewGroup_Ljava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_IILcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Landroid_view_ViewGroup_Ljava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_IILcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Landroid/view/ViewGroup;Ljava/lang/String;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;IILcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Landroid_view_ViewGroup_Ljava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_IILcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Landroid_view_ViewGroup_Ljava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_IILcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public virtual unsafe void SetRootElement(global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.SimpleElement p0, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p1, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener p2)
        {
            if (id_setRootElement_Lcom_liveperson_messaging_structuredcontent_model_elements_SimpleElement_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_ == IntPtr.Zero)
            {
                id_setRootElement_Lcom_liveperson_messaging_structuredcontent_model_elements_SimpleElement_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_ = JNIEnv.GetMethodID(class_ref, "setRootElement", "(Lcom/liveperson/messaging/structuredcontent/model/elements/SimpleElement;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;)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_setRootElement_Lcom_liveperson_messaging_structuredcontent_model_elements_SimpleElement_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setRootElement", "(Lcom/liveperson/messaging/structuredcontent/model/elements/SimpleElement;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;)V"), __args);
                }
            } finally {
            }
        }
        static void n_SetWebViewOnClickListener_Landroid_content_Context_Ljava_lang_String_Lcom_liveperson_messaging_structuredcontent_model_actions_BaseAction_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, IntPtr native_p3)
        {
            global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.TouchyWebView __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.TouchyWebView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer);
            string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);

            global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.BaseAction         p2 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Actions.BaseAction> (native_p2, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p3 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener> (native_p3, JniHandleOwnership.DoNotTransfer);
            __this.SetWebViewOnClickListener(p0, p1, p2, p3);
        }
 static void n_SetRootElement_Lcom_liveperson_messaging_structuredcontent_model_elements_SimpleElement_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsAgentStructuredContentViewHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsAgentStructuredContentViewHolder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.SimpleElement                 p0           = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.SimpleElement> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener             p1           = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener p2           = (global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.SetRootElement(p0, p1, p2);
 }
 static void n_OnClick_Lorg_json_JSONArray_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Json.JSONArray p0 = global::Java.Lang.Object.GetObject <global::Org.Json.JSONArray> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnClick(p0);
 }
Example #7
0
        public unsafe CustomViewPagerAdapter(global::Android.Content.Context p0, string p1, global::System.Collections.Generic.IList <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.BaseElement> p2, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Visitor.ViewBuilderVisitor.IStructuredContentContainerOperations p3, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p4)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = global::Android.Runtime.JavaList <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.BaseElement> .ToLocalJniHandle(p2);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                if (((object)this).GetType() != typeof(CustomViewPagerAdapter))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Ljava/lang/String;Ljava/util/List;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/visitor/ViewBuilderVisitor$StructuredContentContainerOperations;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Ljava_lang_String_Ljava_util_List_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_visitor_ViewBuilderVisitor_StructuredContentContainerOperations_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Example #8
0
        public virtual unsafe void SetQuickRepliesElement(global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.QuickRepliesElement p0, int p1, string p2, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener p3, global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener p4)
        {
            if (id_setQuickRepliesElement_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_QuickRepliesElement_ILjava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_ == IntPtr.Zero)
            {
                id_setQuickRepliesElement_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_QuickRepliesElement_ILjava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_ = JNIEnv.GetMethodID(class_ref, "setQuickRepliesElement", "(Lcom/liveperson/messaging/structuredcontent/model/elements/complex/QuickRepliesElement;ILjava/lang/String;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;)V");
            }
            IntPtr native_p2 = JNIEnv.NewString(p2);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setQuickRepliesElement_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_QuickRepliesElement_ILjava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setQuickRepliesElement", "(Lcom/liveperson/messaging/structuredcontent/model/elements/complex/QuickRepliesElement;ILjava/lang/String;Lcom/liveperson/infra/messaging_ui/uicomponents/list/OnSCActionClickListener;Lcom/liveperson/infra/messaging_ui/uicomponents/structuredcontent/QRActionClickListener;)V"), __args);
                }
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
Example #9
0
        static void n_SetQuickRepliesElement_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_QuickRepliesElement_ILjava_lang_String_Lcom_liveperson_infra_messaging_ui_uicomponents_list_OnSCActionClickListener_Lcom_liveperson_infra_messaging_ui_uicomponents_structuredcontent_QRActionClickListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2, IntPtr native_p3, IntPtr native_p4)
        {
            global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Quickreplies.QuickRepliesControl __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Quickreplies.QuickRepliesControl> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.QuickRepliesElement             p0     = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.QuickRepliesElement> (native_p0, JniHandleOwnership.DoNotTransfer);
            string p2 = JNIEnv.GetString(native_p2, JniHandleOwnership.DoNotTransfer);

            global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener             p3 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.List.OnSCActionClickListener> (native_p3, JniHandleOwnership.DoNotTransfer);
            global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener p4 = (global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.IQRActionClickListener> (native_p4, JniHandleOwnership.DoNotTransfer);
            __this.SetQuickRepliesElement(p0, p1, p2, p3, p4);
        }