void PlayerOnMediaLoading(object sender, MediaPlayerDeferrableEventArgs mediaPlayerDeferrableEventArgs)
        {
            Debug.WriteLine("StreamingMediaPlugin MediaLoading");

            var task = PlaybackLoadingAsync((MediaLoadingEventArgs)mediaPlayerDeferrableEventArgs);

            TaskCollector.Default.Add(task, "StreamingMediaPlugin MediaLoading PlaybackLoadingAsync");
        }
        private void ThePlayer_OnMediaStarting(object sender, MediaPlayerDeferrableEventArgs e)
        {

        }
 void PlayerOnMediaEnding(object sender, MediaPlayerDeferrableEventArgs mediaPlayerDeferrableEventArgs)
 {
     Debug.WriteLine("StreamingMediaPlugin MediaEnding " + _playbackSession);
 }