public unsafe RpcFactory(global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig p0)
            : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero)
            {
                return;
            }

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);
                if (((object)this).GetType() != typeof(RpcFactory))
                {
                    SetHandle(
                        global::Android.Runtime.JNIEnv.StartCreateInstance(((object)this).GetType(), "(Lcom/alipay/android/phone/mrpc/core/Config;)V", __args),
                        JniHandleOwnership.TransferLocalRef);
                    global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/alipay/android/phone/mrpc/core/Config;)V", __args);
                    return;
                }

                if (id_ctor_Lcom_alipay_android_phone_mrpc_core_Config_ == IntPtr.Zero)
                {
                    id_ctor_Lcom_alipay_android_phone_mrpc_core_Config_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/alipay/android/phone/mrpc/core/Config;)V");
                }
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_alipay_android_phone_mrpc_core_Config_, __args),
                    JniHandleOwnership.TransferLocalRef);
                JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_alipay_android_phone_mrpc_core_Config_, __args);
            } finally {
            }
        }
Пример #2
0
 static IntPtr n_GetUrl(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.Url));
 }
Пример #3
0
 static IntPtr n_GetApplicationContext(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.ApplicationContext));
 }
Пример #4
0
 static bool n_IsGzip(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig __this = global::Java.Lang.Object.GetObject <global::Com.Alipay.Android.Phone.Mrpc.Core.IConfig> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsGzip);
 }