public Pause ( bool pause ) : void | ||
pause | bool | If the playback should be paused or resumed. |
Результат | void |
public void Pause(bool pause)
{
MpdResponse response = this.getConnection().Exec("pause", new string[] { pause ? "1" : "0" });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}