public virtual unsafe void SetAttachementView(global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView p0)
        {
            if (id_setAttachementView_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_ == IntPtr.Zero)
            {
                id_setAttachementView_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_ = JNIEnv.GetMethodID(class_ref, "setAttachementView", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentView;)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_setAttachementView_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setAttachementView", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentView;)V"), __args);
                }
            } finally {
            }
        }
コード例 #2
0
		static void n_SetMCacheFlag_Z (IntPtr jnienv, IntPtr native__this, bool 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);
			__this.SetMCacheFlag (p0);
		}
コード例 #3
0
		static IntPtr n_ContentType (IntPtr jnienv, IntPtr native__this)
		{
			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);
			return JNIEnv.NewString (__this.ContentType ());
		}
コード例 #4
0
		static void n_CancelDownload (IntPtr jnienv, IntPtr native__this)
		{
			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);
			__this.CancelDownload ();
		}
コード例 #5
0
		static void n_SetProressBar_Landroid_widget_ProgressBar_ (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::Android.Widget.ProgressBar p0 = global::Java.Lang.Object.GetObject<global::Android.Widget.ProgressBar> (native_p0, JniHandleOwnership.DoNotTransfer);
			__this.ProressBar = p0;
		}
コード例 #6
0
		static IntPtr n_GetProressBar (IntPtr jnienv, IntPtr native__this)
		{
			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);
			return JNIEnv.ToLocalJniHandle (__this.ProressBar);
		}
コード例 #7
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;
		}
コード例 #8
0
		static void n_SetDownloadProgressLayout_Landroid_widget_RelativeLayout_ (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::Android.Widget.RelativeLayout p0 = global::Java.Lang.Object.GetObject<global::Android.Widget.RelativeLayout> (native_p0, JniHandleOwnership.DoNotTransfer);
			__this.DownloadProgressLayout = p0;
		}
 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 {
     }
 }
 public static unsafe global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask StartDownload(global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView p0, bool p1)
 {
     if (id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_Z == IntPtr.Zero)
     {
         id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_Z = JNIEnv.GetStaticMethodID(class_ref, "startDownload", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentView;Z)Lcom/applozic/mobicomkit/api/attachment/AttachmentTask;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         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_Z, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
 static void n_SetAttachementView_Lcom_applozic_mobicomkit_api_attachment_AttachmentView_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView p0     = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentView> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.SetAttachementView(p0);
 }