Esempio n. 1
0
        void PausePlayer <T>()
        {
            IPlayerContext context = GetPlayerContext <T>();

            if (context != null)
            {
                context.Pause();
            }
        }
        public void Pause()
        {
            IPlayerContext playerContext = CurrentPlayerContext;

            if (playerContext == null)
            {
                return;
            }
            playerContext.Pause();
        }