public unsafe HttpClient(global::Com.Algorithmia.Client.Auth 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 (GetType() != typeof(HttpClient)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/algorithmia/client/Auth;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, "(Lcom/algorithmia/client/Auth;)V", __args); return; } if (id_ctor_Lcom_algorithmia_client_Auth_ == IntPtr.Zero) { id_ctor_Lcom_algorithmia_client_Auth_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/algorithmia/client/Auth;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_algorithmia_client_Auth_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(((global::Java.Lang.Object) this).Handle, class_ref, id_ctor_Lcom_algorithmia_client_Auth_, __args); } finally { } }
static void n_AuthenticateRequest_Lcom_algorithmia_client_HttpRequest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Algorithmia.Client.Auth __this = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.Auth> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Algorithmia.Client.HttpRequest p0 = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Client.HttpRequest> (native_p0, JniHandleOwnership.DoNotTransfer); __this.AuthenticateRequest(p0); }