Пример #1
0
    public vx_evt_participant_added_t as_vx_evt_participant_added()
    {
        global::System.IntPtr      cPtr = VivoxCoreInstancePINVOKE.vx_evt_base_t_as_vx_evt_participant_added(swigCPtr);
        vx_evt_participant_added_t ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vx_evt_participant_added_t(cPtr, false);

        return(ret);
    }
Пример #2
0
 public ChannelParticipant(ChannelSession parent, vx_evt_participant_added_t theEvent)
 {
     _parent = parent;
     IsSelf  = theEvent.is_current_user != 0;
     Key     = theEvent.participant_uri;
     Account = new AccountId(theEvent.participant_uri, theEvent.displayname);
 }
        private void HandleParticipantAdded(vx_evt_base_t eventMessage)
        {
            vx_evt_participant_added_t evt = eventMessage;

            Debug.Assert(evt != null);
            if (evt.session_handle != _sessionHandle)
            {
                return;
            }
            _participants[evt.participant_uri] = new ChannelParticipant(this, evt);
        }
Пример #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_evt_participant_added_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }