예제 #1
0
        static IntPtr n_Put_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Org.Jboss.Aerogear.Android.Pipe.Http.IHttpProvider __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Http.IHttpProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            string p1    = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Put(p0, p1));

            return(__ret);
        }
예제 #2
0
        static IntPtr n_Put_Ljava_lang_String_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Org.Jboss.Aerogear.Android.Pipe.Http.IHttpProvider __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Pipe.Http.IHttpProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            byte[] p1    = (byte[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(byte));
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Put(p0, p1));

            if (p1 != null)
            {
                JNIEnv.CopyArray(p1, native_p1);
            }
            return(__ret);
        }