Ejemplo n.º 1
0
 public async void ConnectOrDisconnect()
 {
     if (IsConnected)
     {
         _droneService.Disconnect();
         IsConnected = false;
     }
     else
     {
         IsConnected = await _droneService.Connect();
     }
 }