Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="lstParticipant"></param>
 public void GetPresence()
 {
     this.PresenceStatus = UserPresence.GetUserPresence(NeeoUtility.ConvertToJid(_userID));
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="lstParticipant"></param>
 public async Task GetPresenceAsync()
 {
     this.PresenceStatus = await Task.Factory.StartNew(() => UserPresence.GetUserPresence(NeeoUtility.ConvertToJid(_userID)));
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="lstParticipant"></param>
 public static Presence GetPresence(string userID)
 {
     return(UserPresence.GetUserPresence(NeeoUtility.ConvertToJid(userID)));
 }