Skip to main content
Version: v2.9.1

Interface: AutoplayChangeEvent

Represents the event emitted when a player's autoplay status changes.

Property Type Description Optional
typestring = "autoplay"Constant string indicating the event type.
actionstring = "toggle"Indicates the autoplay toggle action.
previousAutoplayboolean | nullThe previous autoplay state before the event.
currentAutoplayboolean | nullThe current autoplay state after the event.