Esempio n. 1
0
 static void n_CreateScheduleMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Landroid_content_Context_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Applozic.Mobicomkit.Api.Conversation.Schedule.ScheduledMessageUtil __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Schedule.ScheduledMessageUtil> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.Context p1 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.CreateScheduleMessage(p0, p1);
 }
        public string GetMessageBody(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, int p1, global::Com.Applozic.Mobicommons.People.Channel.Channel p2, global::Com.Applozic.Mobicommons.People.Contact.Contact p3)
        {
            global::Java.Lang.ICharSequence __result = GetMessageBodyFormatted(p0, p1, p2, p3);
            var __rsval = __result?.ToString();

            return(__rsval);
        }
Esempio n. 3
0
 static void n_InflateViewWithMessage_Landroid_view_View_Lcom_applozic_mobicomkit_api_conversation_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Applozic.Mobicomkit.Uiwidgets.Attachmentview.ApplozicDocumentView __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Attachmentview.ApplozicDocumentView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Views.View p0 = global::Java.Lang.Object.GetObject <global::Android.Views.View> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message p1 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.InflateViewWithMessage(p0, p1);
 }
 static void n_OnCompleted_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_exception_ApplozicException_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Applozic.Mobicomkit.Listners.IMediaDownloadProgressHandler __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Listners.IMediaDownloadProgressHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message    p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Exception.ApplozicException p1 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Exception.ApplozicException> (native_p1, JniHandleOwnership.DoNotTransfer);
     __this.OnCompleted(p0, p1);
 }
 static void n_NotifyUserForNormalMessage_Lcom_applozic_mobicommons_people_contact_Contact_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicomkit_api_conversation_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Applozic.Mobicomkit.Api.Notification.NotificationService __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Notification.NotificationService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicommons.People.Contact.Contact  p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Contact.Contact> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicommons.People.Channel.Channel  p1 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Channel.Channel> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message p2 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.NotifyUserForNormalMessage(p0, p1, p2);
 }
Esempio n. 6
0
        static void n_RemoveConversation_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Applozic.Mobicomkit.Uiwidgets.Conversation.IMessageCommunicator __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Conversation.IMessageCommunicator> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
            string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);

            __this.RemoveConversation(p0, p1);
        }
        static IntPtr n_GetMessageBody_Lcom_applozic_mobicomkit_api_conversation_Message_ILcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2, IntPtr native_p3)
        {
            global::Com.Applozic.Mobicomkit.Api.Notification.NotificationService __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Notification.NotificationService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicomkit.Api.Conversation.Message             p0     = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicommons.People.Channel.Channel p2 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Channel.Channel> (native_p2, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicommons.People.Contact.Contact p3 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Contact.Contact> (native_p3, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = CharSequence.ToLocalJniHandle(__this.GetMessageBodyFormatted(p0, p1, p2, p3));

            return(__ret);
        }
Esempio n. 8
0
        public unsafe void OnClickOnMessageReply(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0)
        {
            if (id_onClickOnMessageReply_Lcom_applozic_mobicomkit_api_conversation_Message_ == IntPtr.Zero)
            {
                id_onClickOnMessageReply_Lcom_applozic_mobicomkit_api_conversation_Message_ = JNIEnv.GetMethodID(class_ref, "onClickOnMessageReply", "(Lcom/applozic/mobicomkit/api/conversation/Message;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onClickOnMessageReply_Lcom_applozic_mobicomkit_api_conversation_Message_, __args);
        }
        public unsafe void OnCompleted(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, global::Com.Applozic.Mobicomkit.Exception.ApplozicException p1)
        {
            if (id_onCompleted_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_exception_ApplozicException_ == IntPtr.Zero)
            {
                id_onCompleted_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_exception_ApplozicException_ = JNIEnv.GetMethodID(class_ref, "onCompleted", "(Lcom/applozic/mobicomkit/api/conversation/Message;Lcom/applozic/mobicomkit/exception/ApplozicException;)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onCompleted_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_exception_ApplozicException_, __args);
        }
Esempio n. 10
0
        public unsafe void RemoveConversation(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, string p1)
        {
            if (id_removeConversation_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_removeConversation_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "removeConversation", "(Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V");
            }
            IntPtr  native_p1 = JNIEnv.NewString(p1);
            JValue *__args    = stackalloc JValue [2];

            __args [0] = new JValue(p0);
            __args [1] = new JValue(native_p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeConversation_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_, __args);
            JNIEnv.DeleteLocalRef(native_p1);
        }
Esempio n. 11
0
        public static unsafe void AddLatestMessage(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, global::System.Collections.Generic.IList <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> p1)
        {
            if (id_addLatestMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_util_List_ == IntPtr.Zero)
            {
                id_addLatestMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_util_List_ = JNIEnv.GetStaticMethodID(class_ref, "addLatestMessage", "(Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/util/List;)V");
            }
            IntPtr native_p1 = global::Android.Runtime.JavaList <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> .ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                JNIEnv.CallStaticVoidMethod(class_ref, id_addLatestMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_util_List_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
Esempio n. 12
0
        public virtual unsafe void CreateScheduleMessage(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, global::Android.Content.Context p1)
        {
            if (id_createScheduleMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Landroid_content_Context_ == IntPtr.Zero)
            {
                id_createScheduleMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Landroid_content_Context_ = JNIEnv.GetMethodID(class_ref, "createScheduleMessage", "(Lcom/applozic/mobicomkit/api/conversation/Message;Landroid/content/Context;)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_createScheduleMessage_Lcom_applozic_mobicomkit_api_conversation_Message_Landroid_content_Context_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "createScheduleMessage", "(Lcom/applozic/mobicomkit/api/conversation/Message;Landroid/content/Context;)V"), __args);
                }
            } finally {
            }
        }
        public virtual unsafe void NotifyUserForNormalMessage(global::Com.Applozic.Mobicommons.People.Contact.Contact p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p2)
        {
            if (id_notifyUserForNormalMessage_Lcom_applozic_mobicommons_people_contact_Contact_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicomkit_api_conversation_Message_ == IntPtr.Zero)
            {
                id_notifyUserForNormalMessage_Lcom_applozic_mobicommons_people_contact_Contact_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicomkit_api_conversation_Message_ = JNIEnv.GetMethodID(class_ref, "notifyUserForNormalMessage", "(Lcom/applozic/mobicommons/people/contact/Contact;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicomkit/api/conversation/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_notifyUserForNormalMessage_Lcom_applozic_mobicommons_people_contact_Contact_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicomkit_api_conversation_Message_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "notifyUserForNormalMessage", "(Lcom/applozic/mobicommons/people/contact/Contact;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicomkit/api/conversation/Message;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 14
0
        public virtual unsafe void InflateViewWithMessage(global::Android.Views.View p0, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p1)
        {
            if (id_inflateViewWithMessage_Landroid_view_View_Lcom_applozic_mobicomkit_api_conversation_Message_ == IntPtr.Zero)
            {
                id_inflateViewWithMessage_Landroid_view_View_Lcom_applozic_mobicomkit_api_conversation_Message_ = JNIEnv.GetMethodID(class_ref, "inflateViewWithMessage", "(Landroid/view/View;Lcom/applozic/mobicomkit/api/conversation/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_inflateViewWithMessage_Landroid_view_View_Lcom_applozic_mobicomkit_api_conversation_Message_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "inflateViewWithMessage", "(Landroid/view/View;Lcom/applozic/mobicomkit/api/conversation/Message;)V"), __args);
                }
            } finally {
            }
        }
Esempio n. 15
0
        public unsafe AttachmentViewProperties(int p0, int p1, global::Android.Content.Context p2, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p3)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            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() != typeof(AttachmentViewProperties))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(IILandroid/content/Context;Lcom/applozic/mobicomkit/api/conversation/Message;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(IILandroid/content/Context;Lcom/applozic/mobicomkit/api/conversation/Message;)V", __args);
                    return;
                }

                if (id_ctor_IILandroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_ == IntPtr.Zero)
                {
                    id_ctor_IILandroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_ = JNIEnv.GetMethodID(class_ref, "<init>", "(IILandroid/content/Context;Lcom/applozic/mobicomkit/api/conversation/Message;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_IILandroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_IILandroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_, __args);
            } finally {
            }
        }
 public static unsafe global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask StartDownload(global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView p0, bool p1, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p2, global::Com.Applozic.Mobicomkit.Listners.IMediaDownloadProgressHandler p3, global::Android.Content.Context p4)
 {
     if (id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_ZLcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_Landroid_content_Context_ == IntPtr.Zero)
     {
         id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_ZLcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "startDownload", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentView;ZLcom/applozic/mobicomkit/api/conversation/Message;Lcom/applozic/mobicomkit/listners/MediaDownloadProgressHandler;Landroid/content/Context;)Lcom/applozic/mobicomkit/api/attachment/AttachmentTask;");
     }
     try {
         JValue *__args = stackalloc JValue [5];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         __args [3] = new JValue(p3);
         __args [4] = new JValue(p4);
         global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask __ret = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask> (JNIEnv.CallStaticObjectMethod(class_ref, id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_ZLcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_Landroid_content_Context_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 17
0
        public unsafe MessageSenderTimerTask(global::Com.Applozic.Mobicomkit.Api.Conversation.MobiComMessageService p0, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p1, string p2)
            : 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 [3];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(native_p2);
                if (((object)this).GetType() != typeof(MessageSenderTimerTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/applozic/mobicomkit/api/conversation/MobiComMessageService;Lcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_applozic_mobicomkit_api_conversation_MobiComMessageService_Lcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p2);
            }
        }
        public unsafe RegisteredUsersAsyncTask(global::Android.Content.Context p0, global::Com.Applozic.Mobicomkit.Api.Account.User.RegisteredUsersAsyncTask.ITaskListener p1, int p2, long p3, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p4, string p5, bool p6)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            IntPtr native_p5 = JNIEnv.NewString(p5);

            try {
                JValue *__args = stackalloc JValue [7];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                __args [5] = new JValue(native_p5);
                __args [6] = new JValue(p6);
                if (((object)this).GetType() != typeof(RegisteredUsersAsyncTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Lcom/applozic/mobicomkit/api/account/user/RegisteredUsersAsyncTask$TaskListener;IJLcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;Z)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/applozic/mobicomkit/api/account/user/RegisteredUsersAsyncTask$TaskListener;IJLcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;Z)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_api_account_user_RegisteredUsersAsyncTask_TaskListener_IJLcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_Z == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_api_account_user_RegisteredUsersAsyncTask_TaskListener_IJLcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_Z = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/applozic/mobicomkit/api/account/user/RegisteredUsersAsyncTask$TaskListener;IJLcom/applozic/mobicomkit/api/conversation/Message;Ljava/lang/String;Z)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_api_account_user_RegisteredUsersAsyncTask_TaskListener_IJLcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_Z, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_api_account_user_RegisteredUsersAsyncTask_TaskListener_IJLcom_applozic_mobicomkit_api_conversation_Message_Ljava_lang_String_Z, __args);
            } finally {
                JNIEnv.DeleteLocalRef(native_p5);
            }
        }
        public virtual unsafe global::Java.Lang.ICharSequence GetMessageBodyFormatted(global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0, int p1, global::Com.Applozic.Mobicommons.People.Channel.Channel p2, global::Com.Applozic.Mobicommons.People.Contact.Contact p3)
        {
            if (id_getMessageBody_Lcom_applozic_mobicomkit_api_conversation_Message_ILcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ == IntPtr.Zero)
            {
                id_getMessageBody_Lcom_applozic_mobicomkit_api_conversation_Message_ILcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ = JNIEnv.GetMethodID(class_ref, "getMessageBody", "(Lcom/applozic/mobicomkit/api/conversation/Message;ILcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)Ljava/lang/CharSequence;");
            }
            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);

                global::Java.Lang.ICharSequence __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Java.Lang.Object.GetObject <Java.Lang.ICharSequence> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getMessageBody_Lcom_applozic_mobicomkit_api_conversation_Message_ILcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Java.Lang.Object.GetObject <Java.Lang.ICharSequence> (JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getMessageBody", "(Lcom/applozic/mobicomkit/api/conversation/Message;ILcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)Ljava/lang/CharSequence;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } finally {
            }
        }
 static void n_OnSent_Lcom_applozic_mobicomkit_api_conversation_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Listners.IMediaUploadProgressHandler __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Listners.IMediaUploadProgressHandler> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message             p0     = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnSent(p0);
 }
Esempio n. 21
0
 public static unsafe void DownloadMessage(global::Android.Content.Context p0, global::Com.Applozic.Mobicomkit.Api.Conversation.Message p1, global::Com.Applozic.Mobicomkit.Listners.IMediaDownloadProgressHandler p2)
 {
     if (id_downloadMessage_Landroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_ == IntPtr.Zero)
     {
         id_downloadMessage_Landroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_ = JNIEnv.GetStaticMethodID(class_ref, "downloadMessage", "(Landroid/content/Context;Lcom/applozic/mobicomkit/api/conversation/Message;Lcom/applozic/mobicomkit/listners/MediaDownloadProgressHandler;)V");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         JNIEnv.CallStaticVoidMethod(class_ref, id_downloadMessage_Landroid_content_Context_Lcom_applozic_mobicomkit_api_conversation_Message_Lcom_applozic_mobicomkit_listners_MediaDownloadProgressHandler_, __args);
     } finally {
     }
 }
Esempio n. 22
0
		static void n_SetMessage_Lcom_applozic_mobicomkit_api_conversation_Message_ (IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
		{
			global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView __this = global::Java.Lang.Object.GetObject<global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
			global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0 = global::Java.Lang.Object.GetObject<global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
			__this.Message = p0;
		}
Esempio n. 23
0
 static void n_OnClickOnMessageReply_Lcom_applozic_mobicomkit_api_conversation_Message_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Uiwidgets.Conversation.Activity.IOnClickReplyInterface __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Uiwidgets.Conversation.Activity.IOnClickReplyInterface> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Conversation.Message p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Message> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnClickOnMessageReply(p0);
 }