Ejemplo n.º 1
0
        public unsafe void OnResult(global::Com.Iflytek.Speech.UnderstanderResult p0)
        {
            if (id_onResult_Lcom_iflytek_speech_UnderstanderResult_ == IntPtr.Zero)
            {
                id_onResult_Lcom_iflytek_speech_UnderstanderResult_ = JNIEnv.GetMethodID(class_ref, "onResult", "(Lcom/iflytek/speech/UnderstanderResult;)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_onResult_Lcom_iflytek_speech_UnderstanderResult_, __args);
        }
Ejemplo n.º 2
0
        public override unsafe void OnResult(global::Com.Iflytek.Speech.UnderstanderResult p0)
        {
            const string __id = "onResult.(Lcom/iflytek/speech/UnderstanderResult;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args);
            } finally {
                global::System.GC.KeepAlive(p0);
            }
        }
Ejemplo n.º 3
0
 public abstract void OnResult(global::Com.Iflytek.Speech.UnderstanderResult p0);