public override void Execute(object sender, HandledEventArgs e)
 {
     if (!playbackManager.IsPaused)
     {
         // Session.Pause();
         playbackManager.Pause();
     }
     else
     {
         // Session.Play();
         playbackManager.Play();
     }
 }
Example #2
0
 private void TogglePlayPause(bool isPaused)
 {
     if (!isPaused)
     {
         // Session.Pause();
         playbackManager.Pause();
         _output.OutputMessage(StringStore.Paused);
     }
     else
     {
         // Session.Play();
         playbackManager.Play();
         _output.OutputMessage(StringStore.Playing);
     }
 }