static IntPtr n_Append_Lcom_mob_tools_network_HTTPPart_(IntPtr jnienv, IntPtr native__this, IntPtr native_part)
        {
            global::Com.Mob.Tools.Network.MultiPart __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.MultiPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Com.Mob.Tools.Network.HTTPPart  part   = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (native_part, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Append(part));

            return(__ret);
        }
        public virtual unsafe global::Com.Mob.Tools.Network.MultiPart Append(global::Com.Mob.Tools.Network.HTTPPart part)
        {
            const string __id = "append.(Lcom/mob/tools/network/HTTPPart;)Lcom/mob/tools/network/MultiPart;";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((part == null) ? IntPtr.Zero : ((global::Java.Lang.Object)part).Handle);
                var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args);
                return(global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.MultiPart> (__rm.Handle, JniHandleOwnership.TransferLocalRef));
            } finally {
            }
        }
Beispiel #3
0
 static IntPtr n_GetInputStreamEntity(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mob.Tools.Network.HTTPPart __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.InputStreamEntity));
 }
Beispiel #4
0
 static IntPtr n_GetInputStream(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mob.Tools.Network.HTTPPart __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(__this.InputStream));
 }
Beispiel #5
0
 static void n_SetOnReadListener_Lcom_mob_tools_network_OnReadListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_l)
 {
     global::Com.Mob.Tools.Network.HTTPPart        __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Mob.Tools.Network.IOnReadListener l      = (global::Com.Mob.Tools.Network.IOnReadListener)global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.IOnReadListener> (native_l, JniHandleOwnership.DoNotTransfer);
     __this.SetOnReadListener(l);
 }
Beispiel #6
0
 static void n_SetOffset_J(IntPtr jnienv, IntPtr native__this, long offset)
 {
     global::Com.Mob.Tools.Network.HTTPPart __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetOffset(offset);
 }
Beispiel #7
0
 static long n_Length(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Mob.Tools.Network.HTTPPart __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Network.HTTPPart> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Length());
 }