public static unsafe global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentTask StartDownload(global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties p0, bool p1) { if (id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentViewProperties_Z == IntPtr.Zero) { id_startDownload_Lcom_applozic_mobicomkit_api_attachment_AttachmentViewProperties_Z = JNIEnv.GetStaticMethodID(class_ref, "startDownload", "(Lcom/applozic/mobicomkit/api/attachment/AttachmentViewProperties;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_AttachmentViewProperties_Z, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
static int n_GetWidth(IntPtr jnienv, IntPtr native__this) { global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Width); }
static IntPtr n_GetContext(IntPtr jnienv, IntPtr native__this) { global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Context)); }
static IntPtr n_GetImageUrl(IntPtr jnienv, IntPtr native__this) { global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Attachment.AttachmentViewProperties> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.ImageUrl)); }