Exemplo n.º 1
0
 private async Task Volume(string token, int volumePercent, string deviceId = null)
 {
     try
     {
         await _player.Volume(volumePercent, accessToken : token, deviceId : deviceId);
     }
     catch (Exception ex)
     {
         // log and continue
         _logger.LogError(ex, ex.Message);
     }
 }