public unsafe void OnCreateSuccess(global::Org.Webrtc.SessionDescription p0) { if (id_onCreateSuccess_Lorg_webrtc_SessionDescription_ == IntPtr.Zero) { id_onCreateSuccess_Lorg_webrtc_SessionDescription_ = JNIEnv.GetMethodID(class_ref, "onCreateSuccess", "(Lorg/webrtc/SessionDescription;)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_onCreateSuccess_Lorg_webrtc_SessionDescription_, __args); }
static void n_OnCreateSuccess_Lorg_webrtc_SessionDescription_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Webrtc.ISdpObserver __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.ISdpObserver> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.SessionDescription p0 = global::Java.Lang.Object.GetObject <global::Org.Webrtc.SessionDescription> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnCreateSuccess(p0); }