示例#1
0
 private void Client_ContactPresenceUpdated(ContactPresence contactPresence, Contact contact)
 {
     if (SelectedContact?.Uri == contact.Uri)
     {
         ContactStatus = contactPresence.Availability.ToString();
     }
 }
示例#2
0
 private void Client_ContactPresenceUpdated(ContactPresence contactPresence, Contact contact)
 {
     ConsoleWrite_Green("{0} presence has been changed to {1}", contact.Name, contactPresence.Availability);
 }