private async void BluetoothLEServer_CommandReceived(BluetoothLEServer sender, CommandReceivedEventArgs args)
        {
            switch (args.CommandCode)
            {
            case CommandCode.Play:
                if (args.SequenceId.HasValue)
                {
                    await PlayAsync(BluetoothConstants.GetSequenceName(args.SequenceId.Value));
                }
                else
                {
                    _player.Play();
                }
                break;

            case CommandCode.Pause:
                _player.Pause();
                break;

            case CommandCode.Stop:
                _player.Stop();
                break;

            default:
                break;
            }
        }
 static BluetoothLEServer()
 {
     Current = new BluetoothLEServer();
 }
 private void BluetoothLEServer_BrightnessChangeReceived(BluetoothLEServer sender, BrightnessChangeReceivedEventArgs args)
 {
     _player.Brightness = args.Brightness;
 }