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);
 }
#pragma warning restore 0649

        public void OnGroupSelected(global::Com.Applozic.Mobicommons.People.Channel.Channel p0)
        {
            var __h = OnGroupSelectedHandler;

            if (__h != null)
            {
                __h(sender, new GroupSelectedEventArgs(p0));
            }
        }
Beispiel #3
0
        static IntPtr n_GetConversationList_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Applozic.Mobicomkit.Api.Conversation.Service.ConversationService __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Service.ConversationService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicommons.People.Channel.Channel p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Channel.Channel> (native_p0, JniHandleOwnership.DoNotTransfer);
            global::Com.Applozic.Mobicommons.People.Contact.Contact p1 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Contact.Contact> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = global::Android.Runtime.JavaList <global::Com.Applozic.Mobicommons.People.Channel.Conversation> .ToLocalJniHandle(__this.GetConversationList(p0, p1));

            return(__ret);
        }
        static IntPtr n_GetNotificationTitle_ILcom_applozic_mobicommons_people_contact_Contact_Lcom_applozic_mobicommons_people_channel_Channel_(IntPtr jnienv, IntPtr native__this, int 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 p1 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Contact.Contact> (native_p1, 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);
            IntPtr __ret = CharSequence.ToLocalJniHandle(__this.GetNotificationTitleFormatted(p0, p1, p2));

            return(__ret);
        }
        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);
        }
        public unsafe void OnGroupSelected(global::Com.Applozic.Mobicommons.People.Channel.Channel p0)
        {
            if (id_onGroupSelected_Lcom_applozic_mobicommons_people_channel_Channel_ == IntPtr.Zero)
            {
                id_onGroupSelected_Lcom_applozic_mobicommons_people_channel_Channel_ = JNIEnv.GetMethodID(class_ref, "onGroupSelected", "(Lcom/applozic/mobicommons/people/channel/Channel;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue(p0);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onGroupSelected_Lcom_applozic_mobicommons_people_channel_Channel_, __args);
        }
Beispiel #7
0
 static void n_ProcessConversationArray_arrayLcom_applozic_mobicommons_people_channel_Conversation_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Com.Applozic.Mobicomkit.Api.Conversation.Service.ConversationService __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Conversation.Service.ConversationService> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicommons.People.Channel.Conversation[] p0 = (global::Com.Applozic.Mobicommons.People.Channel.Conversation[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(global::Com.Applozic.Mobicommons.People.Channel.Conversation));
     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.Mobicommons.People.Contact.Contact        p2 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Contact.Contact> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.ProcessConversationArray(p0, p1, p2);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
 }
Beispiel #8
0
 public static unsafe global::Com.Applozic.Mobicommons.People.Channel.Channel FetchGroup(global::Android.Content.Context p0, global::Java.Lang.Integer p1)
 {
     if (id_fetchGroup_Landroid_content_Context_Ljava_lang_Integer_ == IntPtr.Zero)
     {
         id_fetchGroup_Landroid_content_Context_Ljava_lang_Integer_ = JNIEnv.GetStaticMethodID(class_ref, "fetchGroup", "(Landroid/content/Context;Ljava/lang/Integer;)Lcom/applozic/mobicommons/people/channel/Channel;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         global::Com.Applozic.Mobicommons.People.Channel.Channel __ret = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Channel.Channel> (JNIEnv.CallStaticObjectMethod(class_ref, id_fetchGroup_Landroid_content_Context_Ljava_lang_Integer_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Beispiel #9
0
        public static unsafe bool IsAdminUserId(string p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1)
        {
            if (id_isAdminUserId_Ljava_lang_String_Lcom_applozic_mobicommons_people_channel_Channel_ == IntPtr.Zero)
            {
                id_isAdminUserId_Ljava_lang_String_Lcom_applozic_mobicommons_people_channel_Channel_ = JNIEnv.GetStaticMethodID(class_ref, "isAdminUserId", "(Ljava/lang/String;Lcom/applozic/mobicommons/people/channel/Channel;)Z");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                bool __ret = JNIEnv.CallStaticBooleanMethod(class_ref, id_isAdminUserId_Ljava_lang_String_Lcom_applozic_mobicommons_people_channel_Channel_, __args);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Beispiel #10
0
        public static unsafe string GetWithUserId(global::Com.Applozic.Mobicommons.People.Channel.Channel p0, string p1)
        {
            if (id_getWithUserId_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getWithUserId_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "getWithUserId", "(Lcom/applozic/mobicommons/people/channel/Channel;Ljava/lang/String;)Ljava/lang/String;");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_getWithUserId_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public string GetNotificationTitle(int p0, global::Com.Applozic.Mobicommons.People.Contact.Contact p1, global::Com.Applozic.Mobicommons.People.Channel.Channel p2)
        {
            global::Java.Lang.ICharSequence __result = GetNotificationTitleFormatted(p0, p1, p2);
            var __rsval = __result?.ToString();

            return(__rsval);
        }
 public GroupSelectedEventArgs(global::Com.Applozic.Mobicommons.People.Channel.Channel p0)
 {
     this.p0 = p0;
 }
 static void n_OnGroupSelected_Lcom_applozic_mobicommons_people_channel_Channel_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicommons.People.IOnContactsInteractionListener __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.IOnContactsInteractionListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicommons.People.Channel.Channel p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicommons.People.Channel.Channel> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnGroupSelected(p0);
 }
        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 {
            }
        }
 public static unsafe void UnSubscribeToTyping(global::Android.Content.Context p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1, global::Com.Applozic.Mobicommons.People.Contact.Contact p2)
 {
     if (id_unSubscribeToTyping_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ == IntPtr.Zero)
     {
         id_unSubscribeToTyping_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ = JNIEnv.GetStaticMethodID(class_ref, "unSubscribeToTyping", "(Landroid/content/Context;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)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_unSubscribeToTyping_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_, __args);
     } finally {
     }
 }
        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);
        }
Beispiel #17
0
 public static unsafe void GetMessageListForChannel(global::Android.Content.Context p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1, global::Java.Lang.Long p2, global::Com.Applozic.Mobicomkit.Listners.IMessageListHandler p3)
 {
     if (id_getMessageListForChannel_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_Long_Lcom_applozic_mobicomkit_listners_MessageListHandler_ == IntPtr.Zero)
     {
         id_getMessageListForChannel_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_Long_Lcom_applozic_mobicomkit_listners_MessageListHandler_ = JNIEnv.GetStaticMethodID(class_ref, "getMessageListForChannel", "(Landroid/content/Context;Lcom/applozic/mobicommons/people/channel/Channel;Ljava/lang/Long;Lcom/applozic/mobicomkit/listners/MessageListHandler;)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);
         JNIEnv.CallStaticVoidMethod(class_ref, id_getMessageListForChannel_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Ljava_lang_Long_Lcom_applozic_mobicomkit_listners_MessageListHandler_, __args);
     } finally {
     }
 }
Beispiel #18
0
        public unsafe ApplozicChannelDeleteTask(global::Android.Content.Context p0, global::Com.Applozic.Mobicomkit.Uiwidgets.Async.ApplozicChannelDeleteTask.ITaskListener p1, global::Com.Applozic.Mobicommons.People.Channel.Channel p2)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            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() != typeof(ApplozicChannelDeleteTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Landroid/content/Context;Lcom/applozic/mobicomkit/uiwidgets/async/ApplozicChannelDeleteTask$TaskListener;Lcom/applozic/mobicommons/people/channel/Channel;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Landroid/content/Context;Lcom/applozic/mobicomkit/uiwidgets/async/ApplozicChannelDeleteTask$TaskListener;Lcom/applozic/mobicommons/people/channel/Channel;)V", __args);
                    return;
                }

                if (id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_uiwidgets_async_ApplozicChannelDeleteTask_TaskListener_Lcom_applozic_mobicommons_people_channel_Channel_ == IntPtr.Zero)
                {
                    id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_uiwidgets_async_ApplozicChannelDeleteTask_TaskListener_Lcom_applozic_mobicommons_people_channel_Channel_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Lcom/applozic/mobicomkit/uiwidgets/async/ApplozicChannelDeleteTask$TaskListener;Lcom/applozic/mobicommons/people/channel/Channel;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_uiwidgets_async_ApplozicChannelDeleteTask_TaskListener_Lcom_applozic_mobicommons_people_channel_Channel_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Landroid_content_Context_Lcom_applozic_mobicomkit_uiwidgets_async_ApplozicChannelDeleteTask_TaskListener_Lcom_applozic_mobicommons_people_channel_Channel_, __args);
            } finally {
            }
        }
Beispiel #19
0
        public virtual unsafe global::System.Collections.Generic.IList <global::Com.Applozic.Mobicommons.People.Channel.Conversation> GetConversationList(global::Com.Applozic.Mobicommons.People.Channel.Channel p0, global::Com.Applozic.Mobicommons.People.Contact.Contact p1)
        {
            if (id_getConversationList_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ == IntPtr.Zero)
            {
                id_getConversationList_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ = JNIEnv.GetMethodID(class_ref, "getConversationList", "(Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)Ljava/util/List;");
            }
            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);

                global::System.Collections.Generic.IList <global::Com.Applozic.Mobicommons.People.Channel.Conversation> __ret;
                if (((object)this).GetType() == ThresholdType)
                {
                    __ret = global::Android.Runtime.JavaList <global::Com.Applozic.Mobicommons.People.Channel.Conversation> .FromJniHandle(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getConversationList_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_, __args), JniHandleOwnership.TransferLocalRef);
                }
                else
                {
                    __ret = global::Android.Runtime.JavaList <global::Com.Applozic.Mobicommons.People.Channel.Conversation> .FromJniHandle(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getConversationList", "(Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)Ljava/util/List;"), __args), JniHandleOwnership.TransferLocalRef);
                }
                return(__ret);
            } 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 {
            }
        }
Beispiel #21
0
        public virtual unsafe void ProcessConversationArray(global::Com.Applozic.Mobicommons.People.Channel.Conversation[] p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1, global::Com.Applozic.Mobicommons.People.Contact.Contact p2)
        {
            if (id_processConversationArray_arrayLcom_applozic_mobicommons_people_channel_Conversation_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ == IntPtr.Zero)
            {
                id_processConversationArray_arrayLcom_applozic_mobicommons_people_channel_Conversation_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_ = JNIEnv.GetMethodID(class_ref, "processConversationArray", "([Lcom/applozic/mobicommons/people/channel/Conversation;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)V");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            try {
                JValue *__args = stackalloc JValue [3];
                __args [0] = new JValue(native_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_processConversationArray_arrayLcom_applozic_mobicommons_people_channel_Conversation_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "processConversationArray", "([Lcom/applozic/mobicommons/people/channel/Conversation;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;)V"), __args);
                }
            } finally {
                if (p0 != null)
                {
                    JNIEnv.CopyArray(native_p0, p0);
                    JNIEnv.DeleteLocalRef(native_p0);
                }
            }
        }
 public static unsafe void PublishTypingStatus(global::Android.Content.Context p0, global::Com.Applozic.Mobicommons.People.Channel.Channel p1, global::Com.Applozic.Mobicommons.People.Contact.Contact p2, bool p3)
 {
     if (id_publishTypingStatus_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_Z == IntPtr.Zero)
     {
         id_publishTypingStatus_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_Z = JNIEnv.GetStaticMethodID(class_ref, "publishTypingStatus", "(Landroid/content/Context;Lcom/applozic/mobicommons/people/channel/Channel;Lcom/applozic/mobicommons/people/contact/Contact;Z)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);
         JNIEnv.CallStaticVoidMethod(class_ref, id_publishTypingStatus_Landroid_content_Context_Lcom_applozic_mobicommons_people_channel_Channel_Lcom_applozic_mobicommons_people_contact_Contact_Z, __args);
     } finally {
     }
 }