예제 #1
0
        static IntPtr n_Post_Ljava_lang_String_Lcom_algorithmia_client_HttpEntity_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
        {
            global::Com.Algorithmia.Client.HttpClient __this = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            global::Com.Algorithmia.Client.HttpEntity p1 = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpEntity> (native_p1, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Post(p0, p1));

            return(__ret);
        }
예제 #2
0
        static IntPtr n_Post_Ljava_lang_String_Lcom_algorithmia_client_HttpEntity_Lcom_algorithmia_client_HttpResponseHandler_Ljava_util_Map_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2, IntPtr native_p3)
        {
            global::Com.Algorithmia.Client.HttpClient __this = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);

            global::Com.Algorithmia.Client.HttpEntity          p1 = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpEntity> (native_p1, JniHandleOwnership.DoNotTransfer);
            global::Com.Algorithmia.Client.HttpResponseHandler p2 = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpResponseHandler> (native_p2, JniHandleOwnership.DoNotTransfer);
            var p3 = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_p3, JniHandleOwnership.DoNotTransfer);

            IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Post(p0, p1, p2, p3));

            return(__ret);
        }