chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.media.events / MediaEvent / PlayersCreatedEvent

PlayersCreatedEvent

data class PlayersCreatedEvent : MediaEvent

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.

Official doc

Constructors

<init>

Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.

PlayersCreatedEvent(players: List<PlayerId>)

Properties

players

val players: List<PlayerId>