Exemple #1
0
 /// <summary>
 /// Called when a MediaProgressMessage has been received.
 /// Update the values held in the model and inform the DataReporter
 /// </summary>
 /// <param name="message"></param>
 private static void MediaProgress(int currentPosition, int duration)
 {
     MediaControllerViewModel.CurrentPosition = currentPosition;
     MediaControllerViewModel.Duration        = duration;
     DataReporter?.MediaProgress();
 }