private async void ChromeCastClient_MediaStatusChanged(object sender, MediaStatus e)
 {
     await ExecuteOnUiThread(() =>
     {
         switch (e.PlayerState)
         {
             case PlayerState.Playing:
                 secondsTimer.Start();
                 break;
             default:
                 secondsTimer.Stop();
                 break;
         }
         Position = e.CurrentTime;
         if (e.Media != null)
             Length = e.Media.duration;
     });
 }
Exemple #2
0
 private static void ChromeCastClient_MediaStatusChanged(object sender, MediaStatus e)
 {
 }