Пример #1
0
 public override void ConversationDidDisconnectParticipant(TWCConversation conversation, TWCParticipant participant)
 {
     Console.WriteLine($"Participant disconnected: {participant.Identity}");
     if (conversation.Participants.Length <= 1)
     {
         conversation.Disconnect();
     }
 }
Пример #2
0
 public override void ConversationEnded(TWCConversation conversation, Foundation.NSError error)
 {
     Console.WriteLine($"Conversation ended with error: {error}");
     OnConversationEnded?.Invoke();
 }
Пример #3
0
 public override void ConversationEnded(TWCConversation conversation)
 {
     Console.WriteLine("Conversation ended...");
     OnConversationEnded?.Invoke();
     ConversationsControls.Instance.Reset();
 }
Пример #4
0
 public override void ConversationDidFailToConnectParticipant(TWCConversation conversation, TWCParticipant participant, Foundation.NSError error)
 {
     Console.WriteLine("Participant failed to connect: {0} with error: {1}", participant.Identity, error.Description);
     conversation.Disconnect();
 }
Пример #5
0
 public override void ConversationDidConnectParticipant(TWCConversation conversation, TWCParticipant participant)
 {
     Console.WriteLine($"Participant connected: {participant.Identity}");
 }