Pause() public method

public Pause ( ) : void
return void
Example #1
0
        public void PauseAsync()
        {
            switch (State)
            {
            case PlayerState.Playing:
                player.Pause();
                return;

            default:             // do nothing
                return;
            }
        }