Exemplo n.º 1
0
 private void InvitedListener_OnInvited(object sender, AVIMOnInvitedEventArgs e)
 {
     if (OnInvited != null)
     {
         OnInvited(this, e);
     }
 }
 public void OnNoticeReceived(AVIMNotice notice)
 {
     if (m_OnInvited != null)
     {
         var ivitedBy      = notice.RawData["initBy"].ToString();
         var conersationId = notice.RawData["cid"].ToString();
         var args          = new AVIMOnInvitedEventArgs()
         {
             ConversationId = conersationId,
             InvitedBy      = ivitedBy,
         };
         m_OnInvited.Invoke(this, args);
     }
 }