public vx_evt_account_login_state_change_t as_vx_evt_account_login_state_change() { global::System.IntPtr cPtr = VivoxCoreInstancePINVOKE.vx_evt_base_t_as_vx_evt_account_login_state_change(swigCPtr); vx_evt_account_login_state_change_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new vx_evt_account_login_state_change_t(cPtr, false); return(ret); }
private void HandleAccountLoginStateChangeEvt(vx_evt_base_t eventMessage) { vx_evt_account_login_state_change_t evt = eventMessage; Debug.Assert(evt != null); if (evt.account_handle != _accountHandle) { return; } // Using the property, since its setter includes triggering the PropertyChanged event State = (LoginState)evt.state; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_evt_account_login_state_change_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }