pause

open fun pause()

Convenience method for easily pausing the exoplayer. Idempotent: a pause() on an already-paused player is a no-op, so redundant SDK code paths (e.g. LifecycleUtil.onStop followed by ExoPlayerVideoDisplayComponent.surfaceDestroyed during activity teardown) cannot produce duplicate DID_PAUSE events.