/// <summary> /// Unexports a previously exported object /// </summary> /// <param name="obj"><see cref="T:Java.Lang.Object" /></param> /// <param name="force">if set to <c>true</c> [force unexport].</param> /// <returns><c>true</c> if unexported, otherwise <c>false</c>.</returns> public static bool UnexportObject(JuggerNETProxyObject javaProxyObject, bool force) { jvalue[] args = new jvalue[2]; using (JavaMethodArguments arguments = new JavaMethodArguments(args).Add(javaProxyObject).Add(force)) { return(mUnexportObject.CallBool(null, arguments)); } }
/// <summary> /// Unexports a previously exported object /// </summary> /// <param name="obj"><see cref="T:Java.Lang.Object" /></param> /// <param name="force">if set to <c>true</c> [force unexport].</param> /// <returns><c>true</c> if unexported, otherwise <c>false</c>.</returns> public static bool UnexportObject(JuggerNETProxyObject javaProxyObject, bool force) { jvalue[] args = new jvalue[2]; using (JavaMethodArguments arguments = new JavaMethodArguments(args).Add(javaProxyObject).Add(force)) { return mUnexportObject.CallBool(null, arguments); } }