public virtual bool match(SWIGTYPE_p_string token, SWIGTYPE_p_Buddy buddy) { bool ret = pjsua2PINVOKE.FindBuddyMatch_match(swigCPtr, SWIGTYPE_p_string.getCPtr(token), SWIGTYPE_p_Buddy.getCPtr(buddy)); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_Buddy findBuddy(SWIGTYPE_p_string uri) { global::System.IntPtr cPtr = pjsua2PINVOKE.Account_findBuddy__SWIG_1(swigCPtr, SWIGTYPE_p_string.getCPtr(uri)); SWIGTYPE_p_Buddy ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_Buddy(cPtr, false); if (pjsua2PINVOKE.SWIGPendingException.Pending) { throw pjsua2PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Buddy obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public void removeBuddy(SWIGTYPE_p_Buddy buddy) { pjsua2PINVOKE.Account_removeBuddy(swigCPtr, SWIGTYPE_p_Buddy.getCPtr(buddy)); }