예제 #1
0
 /// <summary>
 /// Stop listening for available games and messages from a game host.
 /// </summary>
 public async Task StopListeningAsync()
 {
     _participant.StopListening();
     await _participantCommunicationChannel.StopListening();
 }
 /// <summary>
 /// Stops advertising and listening for answer
 /// </summary>
 public async Task StopListeningAsync()
 {
     _manager.StopAdvertising();
     await _managerCommunicationChannel.StopListening();
 }