/*
 private void RequestUserInformations(List<string> usernames)
 {
     var results = client.getMeTLUserInformations(usernames);
     Commands.ReceiveMeTLUserInformations.Execute(results);
 }
 */
 private void RequestTeacherStatus(TeacherStatus obj)
 {
     client.AskForTeachersStatus(obj.Teacher, obj.Conversation);
 }
 private void receivedStatus(TeacherStatus status)
 {
     Dispatcher.adopt(delegate
     {
         Globals.UpdatePresenceListing(new MeTLPresence
         {
             Joining = true,
             Who = status.Teacher,
             Where = status.Conversation
         });
         if (status.Conversation == Globals.location.activeConversation.Jid && status.Teacher == Globals.conversationDetails.Author)
         {
             TeachersCurrentSlideIndex = calculateTeacherSlideIndex(myMaxSlideIndex, status.Slide);
             IsNavigationLocked = calculateNavigationLocked();
         }
     });
 }
 public void teacherStatusRecieved(TeacherStatus status) { }
Ejemplo n.º 4
0
 public void teacherStatusRecieved(TeacherStatus status)
 {
     TeacherStatusReceived(this, new TeacherStatusRequestEventArgs{status = status});
 }