Exemplo n.º 1
0
        public async Task <bool> SetAudioTrack(AudioTrack audioTrack)
        {
            var result = await SendCommand(RestCommand.Format(RestCommand.SET_TRACK_NUMBER, (int)audioTrack));

            return(result == "OK");
        }
Exemplo n.º 2
0
        public async Task <bool> SetPower(bool on)
        {
            var result = await SendCommand(RestCommand.Format(RestCommand.SET_POWER, on ? 1 : 0));

            return(result == "OK");
        }