public unsafe void OnNetworkConnect(global::Org.Webrtc.NetworkMonitorAutoDetect.NetworkInformation p0) { if (id_onNetworkConnect_Lorg_webrtc_NetworkMonitorAutoDetect_NetworkInformation_ == IntPtr.Zero) { id_onNetworkConnect_Lorg_webrtc_NetworkMonitorAutoDetect_NetworkInformation_ = JNIEnv.GetMethodID(class_ref, "onNetworkConnect", "(Lorg/webrtc/NetworkMonitorAutoDetect$NetworkInformation;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onNetworkConnect_Lorg_webrtc_NetworkMonitorAutoDetect_NetworkInformation_, __args); }
static void n_OnNetworkConnect_Lorg_webrtc_NetworkMonitorAutoDetect_NetworkInformation_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Webrtc.NetworkMonitorAutoDetect.IObserver __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.NetworkMonitorAutoDetect.IObserver> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.NetworkMonitorAutoDetect.NetworkInformation p0 = global::Java.Lang.Object.GetObject <global::Org.Webrtc.NetworkMonitorAutoDetect.NetworkInformation> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnNetworkConnect(p0); }