Esempio n. 1
0
        public unsafe void Visit(global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement p0)
        {
            if (id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_ == IntPtr.Zero)
            {
                id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_ = JNIEnv.GetMethodID(class_ref, "visit", "(Lcom/liveperson/messaging/structuredcontent/model/elements/complex/CarouselElement;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_, __args);
        }
        public override unsafe void Visit(global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement p0)
        {
            if (id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_ == IntPtr.Zero)
            {
                id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_ = JNIEnv.GetMethodID(class_ref, "visit", "(Lcom/liveperson/messaging/structuredcontent/model/elements/complex/CarouselElement;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "visit", "(Lcom/liveperson/messaging/structuredcontent/model/elements/complex/CarouselElement;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 3
0
 static IntPtr n_ToString(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.ToString()));
 }
Esempio n. 4
0
 static void n_Accept_Lcom_liveperson_messaging_structuredcontent_visitor_ElementVisitor_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Structuredcontent.Visitor.IElementVisitor p0 = (global::Com.Liveperson.Messaging.Structuredcontent.Visitor.IElementVisitor)global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Visitor.IElementVisitor> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Accept(p0);
 }
Esempio n. 5
0
 static void n_SetPadding_I(IntPtr jnienv, IntPtr native__this, int p0)
 {
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Padding = p0;
 }
 static void n_Visit_Lcom_liveperson_messaging_structuredcontent_model_elements_complex_CarouselElement_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Visitor.QuickRepliesViewBuilderVisitor __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.Uicomponents.Structuredcontent.Visitor.QuickRepliesViewBuilderVisitor> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement p0 = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Structuredcontent.Model.Elements.Complex.CarouselElement> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Visit(p0);
 }