Exemple #1
0
 /// <summary>
 /// Called when a MediaPlayingMessage is received.
 /// If this is a change of play state then let the view know
 /// </summary>
 /// <param name="message"></param>
 private static void MediaPlaying(bool isPlaying)
 {
     if (MediaControllerViewModel.IsPlaying != isPlaying)
     {
         MediaControllerViewModel.IsPlaying = isPlaying;
         DataReporter?.PlayStateChanged();
     }
 }