public virtual unsafe void ReportSuccess(global::Square.OkHttp3.Response p0)
        {
            if (id_reportSuccess_Lokhttp3_Response_ == IntPtr.Zero)
            {
                id_reportSuccess_Lokhttp3_Response_ = JNIEnv.GetMethodID(class_ref, "reportSuccess", "(Lokhttp3/Response;)V");
            }
            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(p0);

                if (((object)this).GetType() == ThresholdType)
                {
                    JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_reportSuccess_Lokhttp3_Response_, __args);
                }
                else
                {
                    JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "reportSuccess", "(Lokhttp3/Response;)V"), __args);
                }
            } finally {
            }
        }
 static void n_ReportSuccess_Lokhttp3_Response_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Network.Http.Request.HttpOpenStreamRequest __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Network.Http.Request.HttpOpenStreamRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Square.OkHttp3.Response p0 = global::Java.Lang.Object.GetObject <global::Square.OkHttp3.Response> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.ReportSuccess(p0);
 }