コード例 #1
0
 public void OnParticipantSelectionChanged(AtlasAddressBar addressBar, IList <string> participantIds)
 {
     if (participantIds.Count == 0)
     {
         _activity.SetConversation(null, false);
         return;
     }
     try
     {
         _activity.SetConversation(_activity.GetLayerClient().NewConversation(new ConversationOptions().Distinct(true), participantIds), false);
     }
     catch (LayerConversationException e)
     {
         _activity.SetConversation(e.Conversation, false);
     }
 }
コード例 #2
0
 public void OnConversationClick(AtlasAddressBar addressBar, Conversation conversation)
 {
     _activity.SetConversation(conversation, true);
     _activity.SetTitle(true);
 }