public unsafe global::Org.Webrtc.VideoCodecStatus InitDecode(global::Org.Webrtc.VideoDecoderSettings p0, global::Org.Webrtc.IVideoDecoderCallback p1)
        {
            if (id_initDecode_Lorg_webrtc_VideoDecoder_Settings_Lorg_webrtc_VideoDecoder_Callback_ == IntPtr.Zero)
            {
                id_initDecode_Lorg_webrtc_VideoDecoder_Settings_Lorg_webrtc_VideoDecoder_Callback_ = JNIEnv.GetMethodID(class_ref, "initDecode", "(Lorg/webrtc/VideoDecoder$Settings;Lorg/webrtc/VideoDecoder$Callback;)Lorg/webrtc/VideoCodecStatus;");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            global::Org.Webrtc.VideoCodecStatus __ret = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoCodecStatus> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_initDecode_Lorg_webrtc_VideoDecoder_Settings_Lorg_webrtc_VideoDecoder_Callback_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }
        public unsafe global::Org.Webrtc.VideoCodecStatus Decode(global::Org.Webrtc.EncodedImage p0, global::Org.Webrtc.VideoDecoderDecodeInfo p1)
        {
            if (id_decode_Lorg_webrtc_EncodedImage_Lorg_webrtc_VideoDecoder_DecodeInfo_ == IntPtr.Zero)
            {
                id_decode_Lorg_webrtc_EncodedImage_Lorg_webrtc_VideoDecoder_DecodeInfo_ = JNIEnv.GetMethodID(class_ref, "decode", "(Lorg/webrtc/EncodedImage;Lorg/webrtc/VideoDecoder$DecodeInfo;)Lorg/webrtc/VideoCodecStatus;");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
            global::Org.Webrtc.VideoCodecStatus __ret = global::Java.Lang.Object.GetObject <global::Org.Webrtc.VideoCodecStatus> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_decode_Lorg_webrtc_EncodedImage_Lorg_webrtc_VideoDecoder_DecodeInfo_, __args), JniHandleOwnership.TransferLocalRef);
            return(__ret);
        }