void PausePlayer <T>() { IPlayerContext context = GetPlayerContext <T>(); if (context != null) { context.Pause(); } }
public void Pause() { IPlayerContext playerContext = CurrentPlayerContext; if (playerContext == null) { return; } playerContext.Pause(); }