public virtual unsafe void OnProgressChanged(global::Com.Tencent.Smtt.Sdk.WebView p0, int p1) { if (id_onProgressChanged_Lcom_tencent_smtt_sdk_WebView_I == IntPtr.Zero) { id_onProgressChanged_Lcom_tencent_smtt_sdk_WebView_I = JNIEnv.GetMethodID(ThresholdClass, "onProgressChanged", "(Lcom/tencent/smtt/sdk/WebView;I)V"); } try { JValue *__args = stackalloc JValue[2]; __args[0] = new JValue(p0); __args[1] = new JValue(p1); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onProgressChanged_Lcom_tencent_smtt_sdk_WebView_I, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onProgressChanged", "(Lcom/tencent/smtt/sdk/WebView;I)V"), __args); } } finally { } }
static void n_OnProgressChanged_Lcom_tencent_smtt_sdk_WebView_I(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1) { try { global::Com.Tencent.Smtt.Sdk.WebChromeClient __this = global::Java.Lang.Object.GetObject <global::Com.Tencent.Smtt.Sdk.WebChromeClient>(jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Tencent.Smtt.Sdk.WebView p0 = global::Java.Lang.Object.GetObject <global::Com.Tencent.Smtt.Sdk.WebView>(native_p0, JniHandleOwnership.DoNotTransfer); __this.OnProgressChanged(p0, p1); } catch { } }