public unsafe void OnFirstPacketReceived(global::Org.Webrtc.MediaStreamTrack.MediaType p0) { if (id_onFirstPacketReceived_Lorg_webrtc_MediaStreamTrack_MediaType_ == IntPtr.Zero) { id_onFirstPacketReceived_Lorg_webrtc_MediaStreamTrack_MediaType_ = JNIEnv.GetMethodID(class_ref, "onFirstPacketReceived", "(Lorg/webrtc/MediaStreamTrack$MediaType;)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_onFirstPacketReceived_Lorg_webrtc_MediaStreamTrack_MediaType_, __args); }
static void n_OnFirstPacketReceived_Lorg_webrtc_MediaStreamTrack_MediaType_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Webrtc.RtpReceiver.IObserver __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.RtpReceiver.IObserver> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Webrtc.MediaStreamTrack.MediaType p0 = global::Java.Lang.Object.GetObject <global::Org.Webrtc.MediaStreamTrack.MediaType> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnFirstPacketReceived(p0); }