private void StartListening(out bool wasMuted) { _commandInProgress = true; wasMuted = VolumeHelper.IsMuted(); if (!wasMuted) { VolumeHelper.Mute(); } }
public void VolumeMuteOn(Context context, Result result) { VolumeHelper.Mute(); result.SendResponse("как вам угодно"); }