Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
        public virtual unsafe void SetViewAppearanceByState(global::Com.Liveperson.Messaging.Model.MessagingChatMessage.MessageState p0)
        {
            if (id_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_ == IntPtr.Zero)
            {
                id_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_ = JNIEnv.GetMethodID(class_ref, "setViewAppearanceByState", "(Lcom/liveperson/messaging/model/MessagingChatMessage$MessageState;)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_setViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setViewAppearanceByState", "(Lcom/liveperson/messaging/model/MessagingChatMessage$MessageState;)V"), __args);
                }
            } finally {
            }
        }
Ejemplo n.º 3
0
 static void n_SetViewAppearanceByState_Lcom_liveperson_messaging_model_MessagingChatMessage_MessageState_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsAgentFormInvitationViewHolder __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Messaging_ui.View.Adapter.Viewholder.AmsAgentFormInvitationViewHolder> (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);
     __this.SetViewAppearanceByState(p0);
 }