PlayerAudioZoneChangedPayload
What playerAudioZoneChanged gets: the payload a handler receives.
Renamed in 0.28 from AudioZoneChangePayload; see renamed names.
Definition
Section titled “Definition”type PlayerAudioZoneChangedPayload = { player: PlayerSnapshot; fromZone: AudioZone | null; toZone: AudioZone | null;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
fromZone |
{ name: string; audioId: number } | null |
The zone before, or null. |
toZone |
{ name: string; audioId: number } | null |
The zone now, or null. |
Related
Section titled “Related”playerAudioZoneChanged: the event