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