public virtual unsafe int StopSpeaking(global::Com.Iflytek.Speech.ISynthesizerListener p0) { const string __id = "stopSpeaking.(Lcom/iflytek/speech/SynthesizerListener;)I"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeVirtualInt32Method(__id, this, __args); return(__rm); } finally { global::System.GC.KeepAlive(p0); } }
public virtual unsafe int SynthesizeToUrl(string p0, global::Com.Iflytek.Speech.ISynthesizerListener p1) { const string __id = "synthesizeToUrl.(Ljava/lang/String;Lcom/iflytek/speech/SynthesizerListener;)I"; IntPtr native_p0 = JNIEnv.NewString(p0); try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue(native_p0); __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); var __rm = _members.InstanceMethods.InvokeVirtualInt32Method(__id, this, __args); return(__rm); } finally { JNIEnv.DeleteLocalRef(native_p0); global::System.GC.KeepAlive(p1); } }