on Event
Called when a player event occurs.
Parameters
event
The event type (e.g., PLAYBACK_STARTED, "error").
data
Additional data associated with the event, or an empty Bundle if none.
Called when a player event occurs.
The event type (e.g., PLAYBACK_STARTED, "error").
Additional data associated with the event, or an empty Bundle if none.