Example #1
0
 public void GetV3(global::Android.Content.Context p0, global::Org.Android.Agoo.Net.Mtop.MtopRequest p1, global::Org.Android.Agoo.Net.Mtop.MtopResponseHandler p2)
 {
     if (id_getV3_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_Lorg_android_agoo_net_mtop_MtopResponseHandler_ == IntPtr.Zero)
     {
         id_getV3_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_Lorg_android_agoo_net_mtop_MtopResponseHandler_ = JNIEnv.GetMethodID(class_ref, "getV3", "(Landroid/content/Context;Lorg/android/agoo/net/mtop/MtopRequest;Lorg/android/agoo/net/mtop/MtopResponseHandler;)V");
     }
     JNIEnv.CallVoidMethod(Handle, id_getV3_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_Lorg_android_agoo_net_mtop_MtopResponseHandler_, new JValue(p0), new JValue(p1), new JValue(p2));
 }
Example #2
0
 static void n_GetV3_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_Lorg_android_agoo_net_mtop_MtopResponseHandler_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Org.Android.Agoo.Net.Mtop.IMtopAsynClient __this = global::Java.Lang.Object.GetObject <global::Org.Android.Agoo.Net.Mtop.IMtopAsynClient> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer);
     global::Org.Android.Agoo.Net.Mtop.MtopRequest         p1 = global::Java.Lang.Object.GetObject <global::Org.Android.Agoo.Net.Mtop.MtopRequest> (native_p1, JniHandleOwnership.DoNotTransfer);
     global::Org.Android.Agoo.Net.Mtop.MtopResponseHandler p2 = global::Java.Lang.Object.GetObject <global::Org.Android.Agoo.Net.Mtop.MtopResponseHandler> (native_p2, JniHandleOwnership.DoNotTransfer);
     __this.GetV3(p0, p1, p2);
 }
Example #3
0
        public static void CheckAppKeyAndAppSecret(global::Org.Android.Agoo.Net.Mtop.MtopRequest p0, string p1, string p2)
        {
            if (id_checkAppKeyAndAppSecret_Lorg_android_agoo_net_mtop_MtopRequest_Ljava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_checkAppKeyAndAppSecret_Lorg_android_agoo_net_mtop_MtopRequest_Ljava_lang_String_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "checkAppKeyAndAppSecret", "(Lorg/android/agoo/net/mtop/MtopRequest;Ljava/lang/String;Ljava/lang/String;)V");
            }
            IntPtr native_p1 = JNIEnv.NewString(p1);
            IntPtr native_p2 = JNIEnv.NewString(p2);

            JNIEnv.CallStaticVoidMethod(class_ref, id_checkAppKeyAndAppSecret_Lorg_android_agoo_net_mtop_MtopRequest_Ljava_lang_String_Ljava_lang_String_, new JValue(p0), new JValue(native_p1), new JValue(native_p2));
            JNIEnv.DeleteLocalRef(native_p1);
            JNIEnv.DeleteLocalRef(native_p2);
        }
Example #4
0
 public static global::Org.Android.Agoo.Net.Async.RequestParams GetUrlWithRequestParams(global::Android.Content.Context p0, global::Org.Android.Agoo.Net.Mtop.MtopRequest p1)
 {
     if (id_getUrlWithRequestParams_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_ == IntPtr.Zero)
     {
         id_getUrlWithRequestParams_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_ = JNIEnv.GetStaticMethodID(class_ref, "getUrlWithRequestParams", "(Landroid/content/Context;Lorg/android/agoo/net/mtop/MtopRequest;)Lorg/android/agoo/net/async/RequestParams;");
     }
     global::Org.Android.Agoo.Net.Async.RequestParams __ret = global::Java.Lang.Object.GetObject <global::Org.Android.Agoo.Net.Async.RequestParams> (JNIEnv.CallStaticObjectMethod(class_ref, id_getUrlWithRequestParams_Landroid_content_Context_Lorg_android_agoo_net_mtop_MtopRequest_, new JValue(p0), new JValue(p1)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }