Skip to main content
Version: v2.10.0

Interface: PauseChangeEvent

The event emitted when a player's pause state changes. This occurs when playback is paused, resumed, or toggled manually or programmatically.

Property Type Description Optional
typestring = "pause"The event type identifier. Always "pause" for this event.
actionstring = "pause" | "resume" | "toggle"Describes the specific action that changed the pause state.
previousPauseboolean | nullThe previous pause state of the player.
currentPauseboolean | nullThe current pause state of the player.