mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
21 lines
851 B
Markdown
21 lines
851 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Media](./puppeteer.protocol.media.md) > [PlayersCreatedEvent](./puppeteer.protocol.media.playerscreatedevent.md)
|
||
|
|
||
|
## Protocol.Media.PlayersCreatedEvent interface
|
||
|
|
||
|
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.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface PlayersCreatedEvent
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [players](./puppeteer.protocol.media.playerscreatedevent.players.md) | [PlayerId](./puppeteer.protocol.media.playerid.md)<!-- -->\[\] | |
|
||
|
|