示例#1
0
        public unsafe ReUploadImageTask(global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle p0, global::Java.Lang.Integer p1)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(p0);
                __args [1] = new JValue(p1);
                if (((object)this).GetType() != typeof(ReUploadImageTask))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/liveperson/messaging/background/filesharing/image/ReUploadImageTaskBundle;Ljava/lang/Integer;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/liveperson/messaging/background/filesharing/image/ReUploadImageTaskBundle;Ljava/lang/Integer;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_liveperson_messaging_background_filesharing_image_ReUploadImageTaskBundle_Ljava_lang_Integer_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_liveperson_messaging_background_filesharing_image_ReUploadImageTaskBundle_Ljava_lang_Integer_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/liveperson/messaging/background/filesharing/image/ReUploadImageTaskBundle;Ljava/lang/Integer;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_liveperson_messaging_background_filesharing_image_ReUploadImageTaskBundle_Ljava_lang_Integer_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_liveperson_messaging_background_filesharing_image_ReUploadImageTaskBundle_Ljava_lang_Integer_, __args);
            } finally {
            }
        }
 static IntPtr n_GetEventId(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.EventId));
 }
        static IntPtr n_AddThumbnailLocalPath_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.AddThumbnailLocalPath(p0));

            return(__ret);
        }
 static IntPtr n_AddOriginalMessageTime_J(IntPtr jnienv, IntPtr native__this, long p0)
 {
     global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.AddOriginalMessageTime(p0)));
 }
 static long n_GetOriginalMessageTime(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Messaging.Background.Filesharing.Image.ReUploadImageTaskBundle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.OriginalMessageTime);
 }