Ejemplo n.º 1
0
        public override void ViewWillDisappear(bool animated)
        {
            base.ViewWillDisappear(animated);

            if (moviePlayer != null)
            {
                moviePlayer.Pause();
            }
        }
Ejemplo n.º 2
0
        public override bool Pause()
        {
            bool paused = false;

            if (playerController != null && this.State == MediaState.Playing)
            {
                playerController.Pause();
                this.State = MediaState.Paused;
                paused     = true;
            }

            return(paused);
        }
Ejemplo n.º 3
0
 public void Pause()
 {
     moviePlayer.Pause();
 }