public unsafe void OnResult(global::Com.Iflytek.Speech.WakeuperResult p0) { if (id_onResult_Lcom_iflytek_speech_WakeuperResult_ == IntPtr.Zero) { id_onResult_Lcom_iflytek_speech_WakeuperResult_ = JNIEnv.GetMethodID(class_ref, "onResult", "(Lcom/iflytek/speech/WakeuperResult;)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_WakeuperResult_, __args); }
public override unsafe void OnResult(global::Com.Iflytek.Speech.WakeuperResult p0) { const string __id = "onResult.(Lcom/iflytek/speech/WakeuperResult;)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); } }
public abstract void OnResult(global::Com.Iflytek.Speech.WakeuperResult p0);