public unsafe void OnWebRtcAudioRecordSamplesReady(global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples p0)
            {
                if (id_onWebRtcAudioRecordSamplesReady_Lorg_webrtc_voiceengine_WebRtcAudioRecord_AudioSamples_ == IntPtr.Zero)
                {
                    id_onWebRtcAudioRecordSamplesReady_Lorg_webrtc_voiceengine_WebRtcAudioRecord_AudioSamples_ = JNIEnv.GetMethodID(class_ref, "onWebRtcAudioRecordSamplesReady", "(Lorg/webrtc/voiceengine/WebRtcAudioRecord$AudioSamples;)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_onWebRtcAudioRecordSamplesReady_Lorg_webrtc_voiceengine_WebRtcAudioRecord_AudioSamples_, __args);
            }
 static IntPtr n_GetData(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.GetData()));
 }
 static void n_OnWebRtcAudioRecordSamplesReady_Lorg_webrtc_voiceengine_WebRtcAudioRecord_AudioSamples_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.IWebRtcAudioRecordSamplesReadyCallback __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.IWebRtcAudioRecordSamplesReadyCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples p0 = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnWebRtcAudioRecordSamplesReady(p0);
 }
 static int n_GetSampleRate(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples __this = global::Java.Lang.Object.GetObject <global::Org.Webrtc.Voiceengine.WebRtcAudioRecord.AudioSamples> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.SampleRate);
 }