#pragma warning restore 0649

        public void OnResult(global::Com.Iflytek.Cloud.RecognizerResult p0, bool p1)
        {
            var __h = OnResultHandler;

            if (__h != null)
            {
                __h(sender, new ResultEventArgs(p0, p1));
            }
        }
        public unsafe void OnResult(global::Com.Iflytek.Cloud.RecognizerResult p0, bool p1)
        {
            if (id_onResult_Lcom_iflytek_cloud_RecognizerResult_Z == IntPtr.Zero)
            {
                id_onResult_Lcom_iflytek_cloud_RecognizerResult_Z = JNIEnv.GetMethodID(class_ref, "onResult", "(Lcom/iflytek/cloud/RecognizerResult;Z)V");
            }
            JValue *__args = stackalloc JValue [2];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            __args [1] = new JValue(p1);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onResult_Lcom_iflytek_cloud_RecognizerResult_Z, __args);
        }
 public ResultEventArgs(global::Com.Iflytek.Cloud.RecognizerResult p0, bool p1)
 {
     this.p0 = p0;
     this.p1 = p1;
 }