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