public vx_evt_subscription_t as_vx_evt_subscription() { global::System.IntPtr cPtr = VivoxCoreInstancePINVOKE.vx_evt_base_t_as_vx_evt_subscription(swigCPtr); vx_evt_subscription_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new vx_evt_subscription_t(cPtr, false); return(ret); }
private void HandleSubscription(vx_evt_base_t eventMessage) { vx_evt_subscription_t evt = eventMessage; Debug.Assert(evt != null); if (evt.account_handle != _accountHandle) { return; } _incomingSubscriptionRequests.Enqueue(new AccountId(evt.buddy_uri)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_evt_subscription_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }