public static unsafe int VADSetParam(global::Com.Iflytek.Msc.MetaVAD.Instance p0, byte[] p1, byte[] p2) { const string __id = "VADSetParam.(Lcom/iflytek/msc/MetaVAD$Instance;[B[B)I"; IntPtr native_p1 = JNIEnv.NewArray(p1); IntPtr native_p2 = JNIEnv.NewArray(p2); try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue(native_p1); __args [2] = new JniArgumentValue(native_p2); var __rm = _members.StaticMethods.InvokeInt32Method(__id, __args); return(__rm); } finally { if (p1 != null) { JNIEnv.CopyArray(native_p1, p1); JNIEnv.DeleteLocalRef(native_p1); } if (p2 != null) { JNIEnv.CopyArray(native_p2, p2); JNIEnv.DeleteLocalRef(native_p2); } global::System.GC.KeepAlive(p0); global::System.GC.KeepAlive(p1); global::System.GC.KeepAlive(p2); } }
public static unsafe int VADResetSession(global::Com.Iflytek.Msc.MetaVAD.Instance p0) { const string __id = "VADResetSession.(Lcom/iflytek/msc/MetaVAD$Instance;)I"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.StaticMethods.InvokeInt32Method(__id, __args); return(__rm); } finally { global::System.GC.KeepAlive(p0); } }